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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49e283
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x4d8200
call fcn.00429050
mov ecx, dword [esi + 0x68]
push eax
call fcn.0045daa0
xor ebx, ebx
cmp eax, ebx
je 0x403a2b
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
push eax
call fcn.0045daa0
cmp eax, ebx
jne 0x403942
lea ecx, [esp + 0x10]
call fcn.0049c994
lea ecx, [esi + 0x90]
lea edx, [esp + 0x10]
push ecx
push 0x4cbbd8
push edx
mov dword [esp + 0x18c], ebx
call fcn.0049c98e
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esi + 0x4acfc]
push eax
call fcn.0048b5e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x180], 0xffffffff
call fcn.0049c982
xor eax, eax
jmp 0x403c37
mov edi, 0x4ad968
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0x11
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0xa
lea ecx, [esp + 0x18]
mov dword [esp + 0x180], 1
push ecx
mov ecx, 0x4d8814
call fcn.00413450
mov ecx, dword [esi + 0x6c]
xor edx, edx
mov eax, ecx
shr eax, 4
div dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4039b1
mov eax, dword [eax + edx*4]
cmp eax, ebx
je 0x4039b1
cmp dword [eax + 8], ecx
je 0x403a32
mov eax, dword [eax]
cmp eax, ebx
jne 0x4039a2
mov eax, dword [esi + 0x22c]
mov ebp, dword [0x4ac148]
cmp eax, ebx
je 0x403abc
call ebp
sub eax, dword [esi + 0x22c]
cmp eax, 0x7d0
jae 0x403abc
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x180], 4
cmp esi, ebx
je 0x403a0d
mov eax, dword [esp + 0x20]
cmp eax, ebx
jbe 0x403a0d
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
cmp eax, ebx
je 0x403a07
mov eax, dword [eax]
cmp eax, ebx
jne 0x403a01
add ecx, 4
dec edx
jne 0x4039fb
push esi
call fcn.0049c964
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0049cb20
xor eax, eax
jmp 0x403c37
cmp eax, ebx
je 0x4039b1
lea ecx, [esp + 0x10]
call fcn.0049c994
push 0x4cbbc4
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 2
call fcn.0049caea
lea edx, [esp + 0x10]
lea ecx, [esi + 0x4acfc]
push edx
call fcn.0048b5e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], 1
call fcn.0049c982
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x180], 3
cmp esi, ebx
je 0x403a0d
mov eax, dword [esp + 0x20]
cmp eax, ebx
jbe 0x403a0d
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
cmp eax, ebx
je 0x403ab1
mov eax, dword [eax]
cmp eax, ebx
jne 0x403aab
add ecx, 4
dec edx
jne 0x403aa5
jmp 0x403a0d
lea ecx, [esp + 0x14]
call fcn.0049c994
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x38]
mov byte [esp + 0x180], 5
rep stosd dword es:[edi], eax
mov ecx, 0x4d8200
call fcn.00429050
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x60], eax
mov edx, dword [ecx + 8]
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], edx
push eax
call fcn.00498b50
mov ecx, dword [esp + 0x18c]
add esp, 4
lea edx, [esp + 0x78]
push 0xfe
push ecx
push edx
call dword [0x4ac150]
lea eax, [esp + 0x78]
push eax
call dword [0x4ac154]
inc eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x68]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0x6dc]
push edx
call fcn.00423110
cmp eax, ebx
jne 0x403bc2
lea ecx, [esp + 0x14]
push 0x4cbbc0
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.0049cba4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 6
call fcn.0049c9a6
lea ecx, [esp + 0x34]
mov byte [esp + 0x180], 5
call fcn.0049c982
lea eax, [esp + 0x14]
lea ecx, [esi + 0x4acfc]
push eax
call fcn.0048b5e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 1
call fcn.0049c982
mov dword [esp + 0x18], 0x4ad968
lea ecx, [esp + 0x18]
mov dword [esp + 0x180], 7
call fcn.004332d0
xor eax, eax
jmp 0x403c37
call ebp
lea ecx, [esp + 0x14]
mov dword [esi + 0x22c], eax
mov byte [esp + 0x180], 1
call fcn.0049c982
mov dword [esp + 0x18], 0x4ad968
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x180], 8
cmp esi, ebx
je 0x403c14
mov eax, dword [esp + 0x20]
cmp eax, ebx
jbe 0x403c14
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
cmp eax, ebx
je 0x403c0e
mov eax, dword [eax]
cmp eax, ebx
jne 0x403c08
add ecx, 4
dec edx
jne 0x403c02
push esi
call fcn.0049c964
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0049cb20
mov eax, 1
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x174
ret 4