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

Disassembly:
sub esp, 0x708
push ebp
push esi
push edi
push dword [esp + 0x72c]
mov ebp, ecx
push dword [esp + 0x72c]
push dword [esp + 0x72c]
push dword [esp + 0x72c]
push dword [esp + 0x72c]
push dword [esp + 0x72c]
push edx
push ebp
call fcn.100056b2
and dword [esp + 0xcc], 0
add esp, 0x20
mov dword [esp + 0xa8], 0x4bd480
xor edx, edx
mov dword [esp + 0x20], 0x9933
mov ecx, 0x363f5361
or dword [esp + 0x20], 0xad73ff37
xor dword [esp + 0x20], 0x960b9a74
xor dword [esp + 0x20], 0x3b786553
mov dword [esp + 0x1c], 0x542f
add dword [esp + 0x1c], 0xc8ce
add dword [esp + 0x1c], 0xffffa8c2
mov eax, dword [esp + 0x1c]
push 0x5b
pop edi
div edi
push 0x63
mov dword [esp + 0x20], eax
xor edx, edx
xor dword [esp + 0x20], 0x4f1f
mov dword [esp + 0x38], 0xa937
add dword [esp + 0x38], 0xc6be
or dword [esp + 0x38], 0x9e8a2caa
add dword [esp + 0x38], 0xffff9fa2
xor dword [esp + 0x38], 0x9e8b35b0
mov dword [esp + 0x18], 0xa290
imul eax, dword [esp + 0x18], 0x38
pop esi
push 0x17
mov dword [esp + 0x18], eax
add dword [esp + 0x18], 0xffff655b
add dword [esp + 0x18], 0xffff3f9a
xor dword [esp + 0x18], 0x223804
mov dword [esp + 0x4c], 0x49e2
shr dword [esp + 0x4c], 8
or dword [esp + 0x4c], 0xc414d990
xor dword [esp + 0x4c], 0xc41493fb
mov dword [esp + 0x10], 0x74d9
mov eax, dword [esp + 0x10]
div esi
pop esi
mov dword [esp + 0xc], eax
xor dword [esp + 0xc], 0xc291bda4
add dword [esp + 0xc], 0xeb6d
xor dword [esp + 0xc], 0xc292eb29
mov dword [esp + 0x5c], 0x4d0b
shl dword [esp + 0x5c], 7
add dword [esp + 0x5c], 0x277b
xor dword [esp + 0x5c], 0x268d74
mov dword [esp + 0x2c], 0x75cf
imul eax, dword [esp + 0x2c], 0x62
mov dword [esp + 0x2c], eax
add dword [esp + 0x2c], 0x1332
shr dword [esp + 0x2c], 0xd
xor dword [esp + 0x2c], 0xed4
mov dword [esp + 0x78], 0xd85d
add dword [esp + 0x78], 0xd2aa
xor dword [esp + 0x78], 0x1f663
mov dword [esp + 0x18], 0xbc3e
or dword [esp + 0x18], 0x282d42cc
add dword [esp + 0x18], 0xffffb4b2
imul eax, dword [esp + 0x18], 0x25
mov dword [esp + 0x18], eax
xor dword [esp + 0x18], 0xce9a942b
mov dword [esp + 0x10], 0x301
xor dword [esp + 0x10], 0xec358c8
xor edx, edx
mov eax, dword [esp + 0x10]
div esi
xor edx, edx
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffff6806
xor dword [esp + 0x10], 0xa3cb1c
mov dword [esp + 0x9c], 0xf49e
add dword [esp + 0x9c], 0xffffddef
xor dword [esp + 0x9c], 0xaa95
mov dword [esp + 0x54], 0xf403
add dword [esp + 0x54], 0x6a8e
shl dword [esp + 0x54], 6
xor dword [esp + 0x54], 0x57d552
mov dword [esp + 0x38], 0x4f4e
add dword [esp + 0x38], 0xffff0830
or dword [esp + 0x38], 0xfc8d1ff5
shr dword [esp + 0x38], 0xb
xor dword [esp + 0x38], 0x1fca39
mov dword [esp + 0x84], 0x60
shr dword [esp + 0x84], 0xd
xor dword [esp + 0x84], 0x2a5b
mov dword [esp + 0x7c], 0xc18a
xor dword [esp + 0x7c], 0xc8271709
xor dword [esp + 0x7c], 0xc827be32
mov dword [esp + 0x6c], 0xf8b0
shl dword [esp + 0x6c], 6
xor dword [esp + 0x6c], 0x3e063b
mov dword [esp + 0x28], 0x7a1e
xor dword [esp + 0x28], 0xc6946529
shl dword [esp + 0x28], 4
shl dword [esp + 0x28], 2
xor dword [esp + 0x28], 0xa507b562
mov dword [esp + 0x44], 0xe662
shr dword [esp + 0x44], 5
or dword [esp + 0x44], 0x81d50607
xor dword [esp + 0x44], 0x81d55403
mov dword [esp + 0x60], 0x2f94
mov eax, dword [esp + 0x60]
div edi
push 0x2c
mov dword [esp + 0x64], eax
xor edx, edx
mov eax, dword [esp + 0x64]
pop esi
div esi
push 0x7e
mov dword [esp + 0x64], eax
xor edx, edx
xor dword [esp + 0x64], 0xa71
mov dword [esp + 0xa8], 0xc69
add dword [esp + 0xa8], 0x3b27
xor dword [esp + 0xa8], 0x4de4
mov dword [esp + 0x54], 0x30eb
or dword [esp + 0x54], 0x980f1189
imul eax, dword [esp + 0x54], 0x3d
pop esi
push 0x45
mov dword [esp + 0x54], eax
xor dword [esp + 0x54], 0x3b9ecce7
mov dword [esp + 0x84], 0xb64c
xor dword [esp + 0x84], 0x315bc1c3
xor dword [esp + 0x84], 0x315b57c4
mov dword [esp + 0x5c], 0x6411
or dword [esp + 0x5c], 0xfbcd3fff
xor dword [esp + 0x5c], 0xfbcd5420
mov dword [esp + 0x34], 0xfef7
shr dword [esp + 0x34], 0xf
xor dword [esp + 0x34], 0xb299bfc4
or dword [esp + 0x34], 0x6f7c44b
xor dword [esp + 0x34], 0xb6ffeafa
mov dword [esp + 0x8c], 0x7f53
xor dword [esp + 0x8c], 0x68612cf3
xor dword [esp + 0x8c], 0x68615bca
mov dword [esp + 0x50], 0xced2
mov eax, dword [esp + 0x50]
div esi
xor edx, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
pop esi
div esi
mov dword [esp + 0x4c], eax
xor dword [esp + 0x4c], 0x2bb2
xor edx, edx
mov dword [esp + 0x40], 0xc83d
or dword [esp + 0x40], 0xac12259f
add dword [esp + 0x40], 0xffff4283
xor dword [esp + 0x40], 0xac12199f
mov dword [esp + 0x74], 0xff80
mov eax, dword [esp + 0x74]
push 0x51
pop esi
div esi
push 0x5d
mov dword [esp + 0x78], eax
xor edx, edx
xor dword [esp + 0x78], 0x122c
mov dword [esp + 0x74], 0x5074
add dword [esp + 0x74], 0xffffb5cd
xor dword [esp + 0x74], 0x626a
mov dword [esp + 0x94], 0xce62
mov eax, dword [esp + 0x94]
pop esi
div esi
push 0x4f
mov dword [esp + 0x94], eax
xor edx, edx
xor dword [esp + 0x94], 0x6436
mov dword [esp + 0xa4], 0x16bc
shl dword [esp + 0xa4], 3
xor dword [esp + 0xa4], 0xd776
mov dword [esp + 0x98], 0x5160
add dword [esp + 0x98], 0xffff7d7f
xor dword [esp + 0x98], 0xfffff234
mov dword [esp + 0x28], 0x2bb0
xor dword [esp + 0x28], 0xda170107
shr dword [esp + 0x28], 9
shr dword [esp + 0x28], 0xa
xor dword [esp + 0x28], 0x6842
mov dword [esp + 0x9c], 0xed5a
mov eax, dword [esp + 0x9c]
pop esi
div esi
mov dword [esp + 0x98], eax
xor dword [esp + 0x98], 0x3872
mov dword [esp + 0x68], 0x88f4
add dword [esp + 0x68], 0x1364
xor dword [esp + 0x68], 0x9651
mov dword [esp + 0x64], 0x6359
xor dword [esp + 0x64], 0xadc469b
imul eax, dword [esp + 0x64], 0x12
mov edi, dword [esp + 0x68]
mov dword [esp + 0x64], eax
xor dword [esp + 0x64], 0xc37acb18
mov dword [esp + 0x8c], 0x7869
imul eax, dword [esp + 0x8c], 0x31
mov dword [esp + 0x8c], eax
xor dword [esp + 0x8c], 0x1774dc
mov dword [esp + 0x3c], 0x2ad2
add dword [esp + 0x3c], 0x99c0
add dword [esp + 0x3c], 0xffff4378
xor dword [esp + 0x3c], 0x634
push 0x2e
pop edx
cmp ecx, 0x34b2b71
je 0x1000563c
cmp ecx, 0x5071dc9
je 0x10005515
cmp ecx, 0x14043b9b
je 0x100054b0
cmp ecx, 0x363f5361
je 0x100054a9
cmp ecx, 0x36fd2c93
je 0x1000568c
cmp ecx, 0x38e291b7
jne 0x1000567e
lea eax, [esp + 0xb0]
mov edx, edi
push eax
push dword [esp + 0x9c]
push dword [esp + 0x2c]
mov ecx, dword [esp + 0xa0]
call fcn.1001d0a1
add esp, 0xc
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xce09f136
add ecx, 0x36fd2c93
jmp 0x1000542e
mov ecx, 0x14043b9b
jmp 0x10005431
push 0x100015b0
push dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
call fcn.1001bf25
pop ecx
pop ecx
push dword [esp + 0x2c]
mov esi, eax
lea eax, [esp + 0x304]
push ecx
push dword [esp + 0x64]
mov edx, esi
mov ecx, ebp
push eax
push dword [esp + 0x1c]
push dword [esp + 0x5c]
call fcn.10013d3d
push esi
push dword [esp + 0xb8]
push dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x9c]
call fcn.1001c5f7
add esp, 0x24
mov ecx, 0x34b2b71
jmp 0x1000542e
mov eax, dword [esp + 0x20]
test dword [esp + 0xb0], eax
je 0x10005615
cmp word [esp + 0xdc], dx
jne 0x1000555a
cmp word [esp + 0xde], 0
je 0x10005550
cmp word [esp + 0xde], dx
jne 0x1000555a
cmp word [esp + 0xe0], 0
jne 0x1000555a
mov ecx, 0x38e291b7
jmp 0x10005431
cmp dword [esp + 0x72c], 0
je 0x10005550
push 0x100015c0
push dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
call fcn.1001bf25
pop ecx
pop ecx
push dword [esp + 0x58]
mov esi, eax
lea eax, [esp + 0xe0]
push eax
push ebp
push dword [esp + 0x8c]
lea eax, [esp + 0x518]
mov edx, esi
push ecx
push eax
push dword [esp + 0x68]
push dword [esp + 0xc0]
mov ecx, dword [esp + 0x80]
call fcn.100163bf
push dword [esp + 0x74c]
lea ecx, [esp + 0x52c]
push dword [esp + 0x64]
push dword [esp + 0x74c]
push dword [esp + 0x74c]
push dword [esp + 0x7c]
push dword [esp + 0xbc]
mov edx, dword [esp + 0x68]
call fcn.10004ea1
push esi
push dword [esp + 0xdc]
push dword [esp + 0xd0]
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
call fcn.1001c5f7
add esp, 0x44
push 0x2e
pop edx
jmp 0x10005550
push dword [esp + 0x720]
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x72c]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0x1e56524
jmp 0x100054a1
push dword [esp + 0x7c]
lea edx, [esp + 0xb4]
push dword [esp + 0x88]
lea ecx, [esp + 0x308]
push dword [esp + 0x40]
push dword [esp + 0x60]
call fcn.10002577
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x10005676
mov ecx, 0x5071dc9
jmp 0x1000542e
push 0x2e
mov ecx, 0x1d1ded50
pop edx
cmp ecx, 0x1d1ded50
jne 0x10005431
jmp 0x100056a8
push dword [esp + 0x3c]
push dword [esp + 0x90]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
push edi
call fcn.10001ec9
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x708
ret