Function at 0x492390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2a4
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
push 0x38
push ebp
mov dword [esp + 0x48], edi
mov eax, dword [edi + 4]
mov esi, dword [edi + 0xc]
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], ebp
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
lea eax, [eax + eax*2]
shl eax, 4
add eax, ebx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x78]
push eax
call fcn.004a3c90
movzx eax, byte [esi + 0x10]
add esp, 0xc
lea ecx, [eax + eax*4]
mov eax, dword [edi]
shl ecx, 4
mov eax, dword [eax + 4]
add eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [eax + 0x38]
mov dword [esp + 0x44], eax
cmp ebx, dword [esp + 0x20]
jae 0x49284f
mov di, word [esp + 0x70]
mov ecx, 0x200
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], edi
test ebp, ebp
jne 0x49284f
test word [ebx + 0x12], cx
je 0x492840
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx + 0x198]
mov eax, dword [edx + 0x19c]
and ecx, dword [esi + 8]
and eax, dword [esi + 0xc]
or ecx, eax
je 0x492837
mov eax, dword [edx + 0xc]
mov dword [esp + 0x30], 1
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [edx + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
movups xmm0, xmmword [eax]
lea eax, [esp + 0xa8]
mov dword [esp + 0x6c], eax
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x64], ebp
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x3c], ebx
cmp ebx, dword [esp + 0x1c]
jae 0x4927af
mov esi, dword [esp + 0x1c]
nop dword [eax]
mov eax, 0x400
test word [ebx + 0x12], ax
je 0x4924a0
mov eax, dword [ebx + 0xc]
jmp 0x4924e2
mov eax, dword [esp + 0x44]
cmp dword [ebx + 8], eax
jne 0x49278f
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x118], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x11c], ecx
mov byte [esp + 0x120], 0x48
mov dword [esp + 0x124], 1
mov dword [esp + 0x12c], ebx
mov esi, dword [esp + 0x2bc]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], eax
xor eax, eax
mov word [esp + 0xa8], ax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x18]
test byte [eax + 0x2a], 0x10
je 0x49252e
push dword [esp + 0x2c4]
push dword [esp + 0x2c4]
push esi
push dword [esp + 0x2c4]
call fcn.00491c40
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x492544
push esi
push dword [esp + 0x2bc]
call fcn.00491570
add esp, 8
mov dword [esp + 0x18], eax
mov ebp, eax
test ebp, ebp
jne 0x492570
push dword [esp + 0x2c4]
lea ecx, [esp + 0x60]
push dword [esp + 0x2c4]
push esi
push dword [esp + 0x2c4]
call fcn.00492390
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x18], ebp
mov si, word [esp + 0xa8]
test si, si
je 0x4927a0
cmp dword [esp + 0x30], 0
je 0x4925b9
movzx eax, si
shl eax, 4
push eax
lea eax, [esp + 0xb4]
mov word [esp + 0x74], si
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004a5830
add esp, 0xc
mov dword [esp + 0x30], 0
jmp 0x492782
movzx eax, di
shl eax, 4
push eax
lea eax, [esp + 0x7c]
mov word [esp + 0xe4], di
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.004a5830
movzx edx, word [esp + 0xec]
xor edi, edi
add esp, 0xc
mov dword [esp + 0x14], edi
mov word [esp + 0x70], di
mov dword [esp + 0x38], edx
test edx, edx
je 0x49278b
lea ecx, [esp + 0xf0]
movzx eax, si
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov dword [esp + 0x34], 0
test eax, eax
je 0x492766
movzx ebp, word [ecx + 2]
lea esi, [esp + 0xb8]
movzx eax, word [ecx]
mov edx, dword [ecx - 8]
mov ecx, dword [ecx - 4]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
movsx edi, bp
movsx ebx, ax
mov dword [esp + 0x2c], esi
nop word [eax + eax]
movzx edx, word [esi + 2]
movsx eax, dx
cmp bp, dx
jl 0x492684
lea ecx, [eax + 0x31]
cmp edi, ecx
jle 0x492668
movzx esi, bp
jmp 0x4926aa
lea ecx, [eax + 0x1f]
cmp edi, ecx
jle 0x492674
lea eax, [ebp + 1]
jmp 0x4926a7
mov ecx, edi
sub ecx, eax
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bp
jmp 0x4926a7
lea ecx, [edi + 0x31]
cmp eax, ecx
jle 0x49268f
mov esi, edx
jmp 0x4926aa
lea ecx, [edi + 0x1f]
cmp eax, ecx
jle 0x49269b
lea eax, [edx + 1]
jmp 0x4926a7
sub eax, edi
movzx eax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx esi, ax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x14]
movzx edx, word [eax]
movzx eax, word [ebp]
movsx ecx, dx
cmp ax, dx
jl 0x4926f7
lea eax, [ecx + 0x31]
cmp ebx, eax
jle 0x4926cf
mov ecx, ebp
movzx edx, word [ecx]
jmp 0x492719
lea eax, [ecx + 0x1f]
cmp ebx, eax
jle 0x4926e0
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx]
inc eax
jmp 0x492716
mov edx, dword [esp + 0x14]
mov eax, ebx
sub eax, ecx
movzx ecx, word [edx]
movzx eax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, cx
jmp 0x492716
lea eax, [ebx + 0x31]
cmp ecx, eax
jg 0x492719
lea eax, [ebx + 0x1f]
cmp ecx, eax
jle 0x49270a
lea eax, [edx + 1]
jmp 0x492716
sub ecx, ebx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx edx, ax
push esi
mov esi, dword [esp + 0x30]
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
or eax, dword [esp + 0x58]
or ecx, dword [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.0048ef00
mov ecx, dword [esp + 0x40]
add esi, 0x10
movzx eax, word [esp + 0xb4]
inc ecx
mov ebp, dword [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], esi
cmp ecx, eax
jl 0x492650
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
add ecx, 0x10
sub edx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], edx
jne 0x492610
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x18]
mov di, word [esp + 0x70]
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x1c]
add ebx, 0x30
mov dword [esp + 0x3c], ebx
cmp ebx, esi
jb 0x492490
jmp 0x4927ab
xor edi, edi
mov dword [esp + 0x14], edi
mov word [esp + 0x70], di
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov eax, 1
mov word [esi + 0x28], ax
xorps xmm0, xmm0
mov eax, dword [esi + 0x30]
xor ebx, ebx
mov dword [eax], ecx
xor eax, eax
mov dword [esi + 0x24], 0x2000
mov word [esi + 0x12], ax
mov byte [esi + 0x11], al
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
test ebp, ebp
jne 0x492833
movzx ebp, di
lea esi, [esp + 0x82]
mov edi, dword [esp + 0x24]
cmp ebx, ebp
jge 0x492827
movzx eax, word [esi - 2]
mov edx, edi
mov ecx, dword [esp + 0x40]
inc ax
mov word [edi + 0x14], ax
movzx eax, word [esi]
mov word [edi + 0x16], ax
mov eax, dword [esi - 0xa]
mov dword [edi], eax
mov eax, dword [esi - 6]
mov dword [edi + 4], eax
call fcn.004909a0
inc ebx
mov dword [esp + 0x18], eax
add esi, 0x10
test eax, eax
je 0x4927f0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, 0x200
add ebx, 0x30
mov dword [esp + 0x28], ebx
cmp ebx, eax
jb 0x492412
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x2a4
ret