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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x99c200
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 0x418a24
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 0x418894
mov dword [ebp - 0x18], 1
jmp 0x418899
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
test cl, cl
je 0x4188a4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x4188ab
mov dword [ebp - 0x14], 1
mov ebx, dword [esi + 0x74]
test ebx, ebx
je 0x4188df
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx + ebx*4 - 4]
dec ebx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4188db
mov eax, dword [eax]
test eax, eax
je 0x4188cf
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0093647c
add esp, 4
test ebx, ebx
jne 0x4188b2
cmp dword [ebp - 0x18], 0
mov dword [esi + 0x74], 0
jbe 0x4188fb
mov ebx, dword [ebp - 0x18]
nop
lea ecx, [esi + 0x70]
call fcn.00410220
dec ebx
jne 0x4188f0
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x418935
mov edx, dword [esi + 0x7c]
mov ebx, dword [edx + eax*4 - 4]
dec eax
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x418931
mov eax, dword [ebx]
test eax, eax
je 0x418925
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call fcn.0093647c
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
jne 0x418908
xor eax, eax
mov dword [esi + 0x80], eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], eax
jbe 0x418a14
lea esp, [esp]
mov ecx, dword [esi + 0x84]
cmp dword [esi + 0x80], ecx
jne 0x4189d5
cmp ecx, 0x7fffffff
jae 0x418a5b
mov eax, ecx
shr eax, 2
mov edx, SysReAllocString
sub edx, ecx
inc eax
cmp eax, edx
jbe 0x41897d
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.00936487
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x80]
add esp, 4
test eax, eax
je 0x4189bd
mov ecx, dword [esi + 0x7c]
mov edx, dword [ebp - 0x1c]
add eax, eax
add eax, eax
push eax
push ecx
push edx
call fcn.00935c50
add esp, 0xc
mov eax, dword [esi + 0x7c]
push eax
call fcn.00936471
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [esi + 0x7c], eax
mov dword [esi + 0x84], ebx
push 4
call fcn.0093652f
add esp, 4
test eax, eax
je 0x4189ed
mov dword [eax], 0
mov ecx, eax
jmp 0x4189ef
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 0x418950
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x7c]
jb 0x418872
cmp dword [edi + 0x18], 0
mov dword [ebp - 0x10], 0
jbe 0x418b8d
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 0x418a70
mov ebx, dword [edx + 4]
jmp 0x418a72
push 0x9cdb04
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x7e5
call fcn.00936492
mov ebx, esi
test al, al
je 0x418a7b
mov dword [ebp - 0x1c], esi
jmp 0x418a81
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.0041cc20
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 0x418ae7
mov eax, ecx
jmp 0x418aea
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x9a0f74
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 0x418b0e
mov eax, ecx
jmp 0x418b11
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x9a0f74
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x418b57
test ecx, ecx
je 0x418b57
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 0x418b6a
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 0x418b7d
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 0x418a35
cmp byte [edi + 0x60], 0
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x78]
mov eax, dword [edx + ecx*4]
je 0x418ba4
mov eax, dword [eax + 0x70]
mov ecx, dword [ebp + 8]
jmp 0x418baa
mov eax, dword [eax + 0x7c]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov ebx, dword [eax]
test esi, esi
je 0x418bba
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [ebx]
test eax, eax
je 0x418bc8
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 0x418c77
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 0x418c3c
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 0x418c2c
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [ebx]
test eax, eax
je 0x418c61
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x418c61
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov ecx, dword [ecx + 0x70]
mov ebx, dword [ecx + eax*4]
test esi, esi
je 0x418c53
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [ebx]
test eax, eax
je 0x418c61
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 0x418bf0
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