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

Disassembly:
mov ecx, dword [0x58371c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x494604
sub esp, 0x74
mov eax, dword [esp + 0x7c]
cmp eax, 0x63
je 0x494151
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00492d20
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00493240
nop
mov eax, dword [esp + 0x7c]
xor ecx, ecx
jmp 0x494182
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.004937a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x74
ret
cmp ecx, 7
jge 0x494519
lea edx, [0x4afad6]
movzx ebx, byte [edx + ecx]
cmp ebx, 0x80
jge 0x4941a0
inc ecx
jmp 0x4941c6
mov dword [esp], edx
mov dword [esp + 4], 7
mov dword [esp + 8], ecx
call fcn.0045c7c0
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
lea edx, [0x4afad6]
cmp eax, ebx
jne 0x494182
cmp eax, 0x58
jg 0x4941db
cmp eax, 0x55
je 0x49420e
cmp eax, 0x58
je 0x49420e
jmp 0x494220
cmp eax, 0x62
jne 0x4941f2
mov ecx, 2
mov edx, 2
lea ebx, [0x4af71a]
jmp 0x494230
cmp eax, 0x6f
jne 0x494209
mov ecx, 8
mov edx, 8
lea ebx, [0x4afc4a]
jmp 0x494230
cmp eax, 0x78
jne 0x494220
mov ecx, 0x10
mov edx, 0x16
lea ebx, [0x4b2a2e]
jmp 0x494230
mov ecx, 0xa
mov edx, 0xa
lea ebx, [0x4b0075]
cmp eax, 0x55
je 0x494260
cmp eax, 0x76
je 0x494241
xor eax, eax
jmp 0x4942da
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00493970
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
movzx eax, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
jmp 0x4942da
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x4d0630]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.00492fe0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4944bd
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x4af6f5]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.00492fe0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4944bd
mov edx, dword [esp + 0x44]
xor eax, eax
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov ebp, dword [esp + 0x78]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov byte [esp + 0xc], al
call fcn.00493670
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x40
call fcn.0046b1a0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x494484
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x80]
lea ecx, [ebx - 0x40]
neg ecx
mov dword [esp + 0x58], ecx
shl edx, cl
mov ebp, eax
shl eax, cl
lea esi, [ecx - 0x20]
mov dword [esp + 0x54], esi
mov edi, ecx
mov ecx, esi
shl ebp, cl
neg ecx
mov ebx, dword [esp + 0x34]
shr ebx, cl
cmp esi, 0x20
sbb esi, esi
mov dword [esp + 0x50], esi
and ebp, esi
cmp ecx, 0x20
sbb esi, esi
and ebx, esi
cmp edi, 0x20
sbb edi, edi
and edx, edi
or ebx, edx
or ebx, ebp
and eax, edi
mov edx, ebx
shl ebx, cl
and ebx, esi
mov ecx, dword [esp + 0x58]
shr eax, cl
mov ebp, edx
shr edx, cl
and edx, edi
and eax, edi
or eax, ebx
mov ecx, dword [esp + 0x54]
shr ebp, cl
mov ebx, dword [esp + 0x50]
and ebp, ebx
or eax, ebp
mov ebx, dword [esp + 0x38]
cmp ebx, edx
setne dl
mov ebp, dword [esp + 0x34]
cmp ebp, eax
setne al
or edx, eax
test dl, dl
jne 0x4943d6
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebx
add esp, 0x74
ret
mov dword [esp], 0
lea eax, [0x4b5751]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x23
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.0044d8d0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
lea edx, [0x4a3880]
mov dword [esp], edx
call fcn.0040c6a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [0x5837b8]
test ecx, ecx
jne 0x494477
mov ecx, dword [esp + 0x60]
mov dword [eax], ecx
lea ecx, [0x4d1330]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x4a3820]
mov dword [esp], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.00409e10
mov eax, dword [esp + 8]
lea ecx, [0x4a3820]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434a50
call fcn.00462380
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
jmp 0x494437
mov ecx, dword [esp + 0x1c]
nop
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
lea eax, [0x4a3820]
mov dword [esp], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.00409e10
mov eax, dword [esp + 8]
lea ecx, [0x4a3820]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434a50
nop
lea eax, [0x4a3880]
mov dword [esp], eax
call fcn.0040c6a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x4b1eeb]
mov dword [eax], ecx
lea ecx, [0x4d1330]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x4a3820]
mov dword [esp], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.00409e10
mov eax, dword [esp + 8]
lea ecx, [0x4a3820]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434a50
mov ecx, eax
sar eax, 0x1f
lea edx, [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044ddc0
mov dword [esp], 0
lea eax, [0x4b0314]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xb
lea eax, [0x4af9bb]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 6
lea eax, [0x4afadd]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 7
call fcn.0044da00
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
lea edx, [0x4a3880]
mov dword [esp], edx
call fcn.0040c6a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [0x5837b8]
test ecx, ecx
jne 0x4945f7
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x4d1330]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x4a3820]
mov dword [esp], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.00409e10
mov eax, dword [esp + 8]
lea ecx, [0x4a3820]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434a50
call fcn.00462380
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
jmp 0x4945a7
call fcn.00460f80
jmp fcn.00494110