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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9d1030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x10], 0
test eax, eax
je 0x418aa4
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi + 0x78]
add ecx, ecx
add ecx, ecx
mov esi, dword [ecx + eax]
mov eax, dword [edi + 8]
add eax, ecx
mov cl, byte [edi + 0x60]
test cl, cl
je 0x418914
mov dword [ebp - 0x18], 1
jmp 0x418919
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
test cl, cl
je 0x418924
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x41892b
mov dword [ebp - 0x14], 1
mov ebx, dword [esi + 0x74]
test ebx, ebx
je 0x41895f
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx + ebx*4 - 4]
dec ebx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41895b
mov eax, dword [eax]
test eax, eax
je 0x41894f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0096b32c
add esp, 4
test ebx, ebx
jne 0x418932
cmp dword [ebp - 0x18], 0
mov dword [esi + 0x74], 0
jbe 0x41897b
mov ebx, dword [ebp - 0x18]
nop
lea ecx, [esi + 0x70]
call fcn.00410220
dec ebx
jne 0x418970
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4189b5
mov edx, dword [esi + 0x7c]
mov ebx, dword [edx + eax*4 - 4]
dec eax
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x4189b1
mov eax, dword [ebx]
test eax, eax
je 0x4189a5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call fcn.0096b32c
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
jne 0x418988
xor eax, eax
mov dword [esi + 0x80], eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], eax
jbe 0x418a94
lea esp, [esp]
mov ecx, dword [esi + 0x84]
cmp dword [esi + 0x80], ecx
jne 0x418a55
cmp ecx, 0x7fffffff
jae 0x418adb
mov eax, ecx
shr eax, 2
mov edx, SysReAllocString
sub edx, ecx
inc eax
cmp eax, edx
jbe 0x4189fd
mov eax, edx
lea ebx, [ecx + eax]
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0096b337
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x80]
add esp, 4
test eax, eax
je 0x418a3d
mov ecx, dword [esi + 0x7c]
mov edx, dword [ebp - 0x1c]
add eax, eax
add eax, eax
push eax
push ecx
push edx
call fcn.0096ab00
add esp, 0xc
mov eax, dword [esi + 0x7c]
push eax
call fcn.0096b321
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [esi + 0x7c], eax
mov dword [esi + 0x84], ebx
push 4
call fcn.0096b3df
add esp, 4
test eax, eax
je 0x418a6d
mov dword [eax], 0
mov ecx, eax
jmp 0x418a6f
xor ecx, ecx
mov eax, dword [esi + 0x80]
lea edx, [eax + 1]
mov dword [esi + 0x80], edx
mov edx, dword [esi + 0x7c]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x14]
jb 0x4189d0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x7c]
jb 0x4188f2
cmp dword [edi + 0x18], 0
mov dword [ebp - 0x10], 0
jbe 0x418c0d
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*8]
lea edx, [ecx + edx*8]
mov ecx, dword [edi + 0x3c]
mov esi, dword [ecx + eax*4]
mov ecx, dword [edi + 0x30]
sub eax, dword [ecx + esi*4]
mov ecx, eax
mov al, byte [edi + 0x60]
test al, al
je 0x418af0
mov ebx, dword [edx + 4]
jmp 0x418af2
push 0xa02a54
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x7e5
call fcn.0096b342
mov ebx, esi
test al, al
je 0x418afb
mov dword [ebp - 0x1c], esi
jmp 0x418b01
mov edx, dword [edx + 4]
mov dword [ebp - 0x1c], edx
xor edx, edx
test al, al
setne dl
movzx esi, al
mov eax, dword [edi + 0x78]
dec edx
and edx, ecx
neg esi
sbb esi, esi
and esi, ecx
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x70]
mov ecx, dword [ecx + 0x7c]
mov ecx, dword [ecx + esi*4]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + edx*4]
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
push ecx
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.0041ccc0
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], edx
mov eax, dword [edi + 0x78]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 0x18]
mov byte [ebp - 4], 1
cmp ecx, edx
je 0x418b67
mov eax, ecx
jmp 0x418b6a
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x9d5eb4
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [edi + 0x78]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x418b8e
mov eax, ecx
jmp 0x418b91
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x9d5eb4
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x418bd7
test ecx, ecx
je 0x418bd7
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
push 0x80000
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0x80000
push esi
push eax
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x418bea
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x418bfd
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x18]
jb 0x418ab5
cmp byte [edi + 0x60], 0
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x78]
mov eax, dword [edx + ecx*4]
je 0x418c24
mov eax, dword [eax + 0x70]
mov ecx, dword [ebp + 8]
jmp 0x418c2a
mov eax, dword [eax + 0x7c]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov ebx, dword [eax]
test esi, esi
je 0x418c3a
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [ebx]
test eax, eax
je 0x418c48
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx], esi
cmp dword [edi + 0x24], 0
mov dword [ebp - 0x10], 0
jbe 0x418cf7
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
sub eax, ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + ecx*4]
mov edx, dword [edi + 0x3c]
mov ecx, dword [edx + eax*4]
mov edx, dword [edi + 0x30]
sub eax, dword [edx + ecx*4]
cmp byte [edi + 0x60], 0
mov edx, dword [edi + 0x78]
mov ecx, dword [edx + ecx*4]
je 0x418cbc
mov ecx, dword [ecx + 0x7c]
mov ebx, dword [ecx + eax*4]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [edx + eax]
test esi, esi
je 0x418cac
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [ebx]
test eax, eax
je 0x418ce1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x418ce1
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov ecx, dword [ecx + 0x70]
mov ebx, dword [ecx + eax*4]
test esi, esi
je 0x418cd3
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [ebx]
test eax, eax
je 0x418ce1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x10]
add dword [ebp + 8], 4
inc eax
mov dword [ebx], esi
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x24]
jb 0x418c70
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8