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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x496f5f
sub esp, 0x70
mov edx, dword [esp + 0x74]
test edx, edx
je 0x496ad9
lea ebx, [0x8dbc00]
cmp edx, ebx
jne 0x496adf
lea eax, [0x901dd8]
mov dword [esp], eax
lea eax, [0x782a1c]
mov dword [esp + 4], eax
call fcn.0045c4a0
mov edx, dword [esp + 0x74]
jmp 0x496adf
lea edx, [0x70f660]
mov ebx, dword [edx + 8]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x496cd3
mov dword [esp + 0x60], edx
mov ebp, dword [edx + 0x38]
test ebp, ebp
je 0x496bd4
mov dword [esp + 0x64], ebp
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x5c], esi
mov edi, dword [esp + 0x7c]
cmp edi, esi
mov eax, ebx
sete bl
mov ebp, dword [edx + 0x28]
mov dword [esp + 0x58], ebp
mov edx, dword [esp + 0x78]
cmp edx, ebp
xchg ebp, ebx
setae bl
xchg ebp, ebx
cmp edi, esi
xchg esi, ebx
setg bl
xchg esi, ebx
and ebp, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x496bce
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x30]
mov dword [esp + 0x54], ebp
cmp edx, ebp
xchg esi, ebx
setb bl
xchg esi, ebx
mov ebp, dword [ebx + 0x34]
mov dword [esp + 0x50], ebp
cmp edi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg edi, ebx
setl bl
xchg edi, ebx
and ebp, esi
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x496bde
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x94], ecx
mov byte [esp + 0x9c], al
add esp, 0x70
ret
mov ebx, dword [esp + 0x60]
jmp 0x496bde
mov eax, ebx
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
test ebp, ebp
je 0x496c43
cmp dword [esi], edx
xchg edi, ebx
seta bl
xchg edi, ebx
mov ebx, dword [esi + 4]
mov edx, dword [esp + 0x7c]
cmp edx, ebx
sete bl
setl dl
and edi, ebx
or edi, edx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x496c3f
mov dword [esp + 0x6c], esi
mov dword [esp + 0x4c], ebp
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov edi, ebp
mov ebp, 0x7fffffff
mov dword [esp + 0x5c], ebp
mov edi, 0xffffffff
mov dword [esp + 0x58], edi
xor ebp, ebp
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x4c]
mov edi, ebp
jmp 0x496d59
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
call fcn.00496f70
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 4]
cmp ebx, edx
jae 0x496d2e
shl ebx, 4
mov edx, dword [ebx + ecx]
mov ebp, dword [ebx + ecx + 4]
mov esi, dword [ebx + ecx + 8]
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x496c80
mov eax, dword [edi + 4]
mov edi, dword [edi]
jmp 0x496c8a
mov eax, 0x7fffffff
mov edi, 0xffffffff
movzx ecx, byte [ebx + ecx + 0xc]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], esi
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], edi
mov byte [esp + 0x9c], cl
add esp, 0x70
ret
lea eax, [0x769bb1]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 3
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0x7fffffff
mov dword [esp + 0x94], 0xffffffff
mov byte [esp + 0x9c], 0
add esp, 0x70
ret
mov eax, ebx
mov ecx, edx
call fcn.00456b40
mov esi, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x3c], edx
mov ebp, ebx
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x40], ebp
mov edx, dword [esp + 0x3c]
sub ebp, edx
cmp ebp, 1
jle 0x496dd4
mov dword [esp + 0x48], ebp
shr ebp, 0x1f
mov ebx, dword [esp + 0x48]
add ebx, ebp
sar ebx, 1
add ebx, edx
cmp edi, ebx
jbe 0x496f55
mov dword [esp + 0x48], ebx
lea ebp, [ebx + ebx*2]
mov edi, dword [esi + ebp*4 + 4]
mov edx, dword [esp + 0x7c]
cmp edx, edi
setl bl
mov ebp, dword [esi + ebp*4]
mov esi, dword [esp + 0x78]
cmp esi, ebp
xchg esi, ebx
setb bl
xchg esi, ebx
cmp edx, edi
sete dl
and edx, esi
or edx, ebx
test dl, dl
je 0x496dbf
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
jmp 0x496d37
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
jmp 0x496d37
cmp edx, edi
jae 0x496f4c
lea ebx, [edx + edx*2]
lea ebp, [esi + ebx*4 + 8]
movzx ebp, byte [ebp]
cmp ecx, ebp
jbe 0x496f45
shl ebp, 4
mov ecx, dword [ebp + eax]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp + eax + 4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + eax + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + ebx*4]
mov ebx, dword [esi + ebx*4 + 4]
movzx eax, byte [ebp + eax + 0xc]
lea ebp, [edi - 1]
cmp edx, ebp
jne 0x496ef5
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 0x24]
mov edx, dword [edx + 0x20]
test ebp, ebp
je 0x496ef5
mov dword [esp + 0x50], ebx
mov byte [esp + 0x3b], al
mov dword [esp + 0x54], ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
call fcn.00497060
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x44], esi
movzx edi, byte [esp + 0x35]
movzx esi, byte [esp + 0x34]
xchg esi, eax
mov byte [esp + 0x3a], al
xchg esi, eax
mov esi, dword [esp + 0x20]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x496eb0
movzx eax, byte [esp + 0x3b]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x496ef5
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x98], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
movzx eax, byte [esp + 0x3a]
mov byte [esp + 0x9c], al
add esp, 0x70
ret
mov edx, dword [esp + 0x68]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x94], ecx
mov byte [esp + 0x9c], al
add esp, 0x70
ret
mov eax, ebp
call fcn.00456b40
mov eax, edx
mov ecx, edi
call fcn.00456b40
mov eax, ebx
mov ecx, edi
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.00496a90