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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
xor eax, eax
mov edi, SysReAllocString
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], edi
call fcn.0041bc4c
push eax
push dword [esi + 0x1c4]
push 0x200000c8
push 1
call fcn.0040c35a
add esp, 0x10
lea ecx, [ebp - 0x24]
lea eax, [esi + 0xa8]
push ecx
push eax
call fcn.00416c5a
mov ebx, eax
test ebx, ebx
jns 0x418723
push 0x442676
jmp 0x418c76
mov eax, dword [esi + 0xb8]
push dword [esi + 0x1c4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
push eax
push 1
lea eax, [esi + 0xa8]
push eax
call fcn.00416d32
mov ebx, eax
test ebx, ebx
jns 0x418764
push ebx
push 0x157
push 0x441b2c
call fcn.004315ca
push 0x44265e
jmp 0x418c76
lea eax, [esi + 0x1b8]
push eax
lea ebx, [esi + 0x208]
push ebx
call fcn.0041dfe4
mov eax, dword [esi + 0xf4]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x20c], eax
lea eax, [esi + 0x78]
push eax
push ecx
mov dword [ebx], ecx
call fcn.0041d610
mov ebx, eax
test ebx, ebx
jns 0x4187a2
push 0x442644
jmp 0x418c76
xor eax, eax
cmp dword [esi + 0xf0], eax
jne 0x4187b2
cmp dword [esi + 0x30], 4
jne 0x4187b5
xor eax, eax
inc eax
mov dword [esi + 0x214], eax
lea eax, [esi + 0x1f0]
push eax
lea eax, [esi + 0x1c]
push eax
push dword [ebp + 0xc]
lea ecx, [esi + 0xe8]
push ecx
call fcn.0041d99e
mov ebx, eax
test ebx, ebx
jns 0x4187e5
push 0x442626
jmp 0x418c76
lea eax, [esi + 0x208]
push eax
push esi
call fcn.00427dea
mov ebx, eax
test ebx, ebx
jns 0x418802
push 0x4425f2
jmp 0x418c76
cmp dword [ebp + 0xc], 2
jne 0x41883f
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x1b0]
push eax
lea eax, [esi + 0x78]
push eax
push dword [esi + 0x4c]
lea eax, [esi + 0x208]
push dword [esi + 0x48]
push dword [esi + 0x12c]
push eax
call fcn.0041eb7e
mov ebx, eax
test ebx, ebx
jns 0x418852
push 0x4425c8
jmp 0x418c76
cmp dword [esi + 0xe8], 0
je 0x418852
mov dword [esi + 0x210], 1
mov eax, dword [esi + 0x244]
and dword [ebp + 8], 0
cmp dword [esi + 0x1c4], 0
mov dword [ebp - 0x28], eax
jbe 0x418a9b
cmp dword [ebp + 0xc], 3
jne 0x41887e
mov edi, dword [esi + 0x1c4]
sub edi, dword [ebp + 8]
dec edi
jmp 0x418881
mov edi, dword [ebp + 8]
imul edi, edi, 0xc8
add edi, dword [esi + 0x1c0]
cmp dword [ebp + 0xc], 3
jne 0x418898
mov eax, dword [edi + 0x3c]
jmp 0x41889b
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4188dd
cmp dword [ebp - 0x1c], 0
je 0x4188be
lea eax, [esi + 0x208]
push eax
call fcn.0041e468
mov ebx, eax
test ebx, ebx
js 0x418afb
push dword [ebp - 0x14]
lea eax, [esi + 0x208]
push eax
call fcn.0041d930
mov ebx, eax
test ebx, ebx
js 0x418bb2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 0x4c]
push eax
push dword [esi + 0x38]
lea eax, [esi + 0x78]
push dword [edi + 0xc]
push eax
push dword [ebp + 0xc]
xor eax, eax
cmp dword [edi + 0x18], eax
sete al
push eax
push dword [edi + 0x40]
push dword [edi + 0x80]
call fcn.0041e0ca
mov ebx, eax
test ebx, ebx
js 0x418b05
mov eax, dword [edi + 0x4c]
lea ecx, [edi + 0x50]
push ecx
push dword [edi]
mov dword [ecx], eax
mov eax, dword [esi + 0xb8]
mov edx, dword [eax]
push eax
call dword [edx + 0x40]
push eax
push 1
lea eax, [esi + 0xa8]
push eax
call fcn.00416d32
mov ebx, eax
test ebx, ebx
js 0x418b0f
cmp dword [edi + 0x50], 0
je 0x4189f4
cmp dword [ebp + 0xc], 2
jne 0x418973
push dword [ebp - 0x10]
lea eax, [esi + 0x208]
push edi
push eax
call fcn.0041ed1e
mov ebx, eax
test ebx, ebx
jns 0x418a42
push 0x4425a8
jmp 0x418c76
cmp dword [edi + 0x18], 0
je 0x41898b
cmp dword [ebp - 8], 0x80000000
jne 0x41898b
mov eax, dword [esi + 0x24c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x128]
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x1f0]
push eax
push edi
lea eax, [esi + 0x208]
push eax
lea eax, [esi + 0xa8]
push eax
push dword [esi + 0x20]
push dword [esi + 0xe8]
call fcn.0041f0e2
mov ebx, eax
test ebx, ebx
js 0x418b29
cmp dword [edi + 0x18], 0
je 0x418a42
cmp dword [ebp - 4], 0x80000000
jne 0x4189e0
mov eax, dword [esi + 0x244]
dec eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x244]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x24c]
mov dword [ebp - 0x18], eax
jmp 0x418a42
cmp dword [ebp + 0xc], 2
je 0x418a42
push dword [esi + 0x128]
lea eax, [esi + 0x208]
push eax
push edi
push dword [esi + 0xe8]
push 0
call fcn.00427e80
mov ebx, eax
test ebx, ebx
js 0x418b33
push dword [esi + 0x128]
lea eax, [esi + 0x208]
push eax
push edi
push dword [esi + 0xe8]
call fcn.004280bc
mov ebx, eax
test ebx, ebx
js 0x418b3c
xor eax, eax
cmp dword [edi + 0x5c], eax
jne 0x418a53
cmp dword [edi + 0x60], eax
jne 0x418a53
cmp dword [edi + 0x64], eax
je 0x418a69
lea eax, [esi + 0x208]
push eax
call fcn.0041e468
mov ebx, eax
test ebx, ebx
js 0x418b51
push dword [edi + 0x60]
mov eax, dword [esi + 0xb8]
push dword [edi + 0x5c]
mov ecx, dword [eax]
push dword [edi + 0x50]
push dword [edi + 0x40]
push ebx
push dword [edi]
push eax
call dword [ecx + 0x4c]
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x1c4]
jb 0x41886c
mov edi, SysReAllocString
cmp dword [esi + 0xf0], 0
jne 0x418b5b
cmp dword [ebp + 0xc], 4
je 0x418abe
cmp dword [ebp + 0xc], 5
je 0x418abe
cmp dword [ebp + 0xc], 6
jne 0x418b5b
cmp dword [ebp - 4], edi
jne 0x418ad5
mov eax, dword [esi + 0x244]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x24c]
mov dword [ebp - 8], eax
push dword [ebp - 8]
lea eax, [esi + 0x208]
push dword [ebp - 4]
push eax
call fcn.0041d834
mov ebx, eax
test ebx, ebx
jns 0x418b9a
push 0x44257e
jmp 0x418c76
push 0x442552
jmp 0x418c76
push 0x44252c
jmp 0x418c76
push ebx
push 0x19e
push 0x441b2c
call fcn.004315ca
push 0x44250c
jmp 0x418c76
push 0x4424ec
jmp 0x418c76
push dword [edi]
push 0x4424ae
jmp 0x418b43
push dword [edi]
push 0x442472
push ebx
call fcn.004315b6
add esp, 0xc
jmp 0x418c9c
push 0x44244c
jmp 0x418c76
cmp dword [ebp + 0xc], 3
jne 0x418b9a
cmp dword [ebp - 0xc], edi
jne 0x418b78
mov eax, dword [esi + 0x244]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x24c]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
lea eax, [esi + 0x208]
push dword [ebp - 0xc]
push eax
call fcn.0041d8b2
mov ebx, eax
test ebx, ebx
jns 0x418b9a
push 0x44241e
jmp 0x418c76
cmp dword [ebp - 0x1c], 0
je 0x418bbc
lea eax, [esi + 0x208]
push eax
call fcn.0041e468
mov ebx, eax
test ebx, ebx
jns 0x418bbc
push 0x4423f6
jmp 0x418c76
lea edi, [esi + 0x208]
push edi
call fcn.0041e81e
mov ebx, eax
test ebx, ebx
jns 0x418bd8
push 0x4423c6
jmp 0x418c76
and dword [ebp + 8], 0
cmp dword [esi + 0x1c4], 0
jbe 0x418c24
cmp dword [ebp + 0xc], 3
jne 0x418bf7
mov eax, dword [esi + 0x1c4]
sub eax, dword [ebp + 8]
dec eax
jmp 0x418bfa
mov eax, dword [ebp + 8]
imul eax, eax, 0xc8
add eax, dword [esi + 0x1c0]
push eax
push edi
push dword [ebp + 0xc]
call fcn.0041d642
mov ebx, eax
test ebx, ebx
js 0x418c80
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x1c4]
jb 0x418be5
cmp dword [ebp + 0xc], 2
je 0x418c87
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x128]
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x1f0]
push eax
push edi
push dword [esi + 0x124]
lea eax, [esi + 0x198]
push dword [esi + 0x120]
push eax
lea eax, [esi + 0xa8]
push eax
push dword [ebp + 0xc]
push dword [esi + 0xe8]
call fcn.0041e1a4
mov ebx, eax
test ebx, ebx
jns 0x418c87
push 0x4423a6
push ebx
call fcn.004315b6
pop ecx
pop ecx
jmp 0x418c9c
push 0x442388
jmp 0x418c76
push dword [ebp + 0xc]
lea eax, [esi + 0x1b8]
lea edi, [esi + 0x198]
push eax
call fcn.00417f96
cmp dword [ebp - 0x24], 0
je 0x418cae
lea eax, [esi + 0xa8]
push eax
call fcn.00416928
mov esi, dword [esi + 0xb8]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x50]
push ebx
push 0x2000012b
push 1
call fcn.0040c35a
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x418cd9
push dword [ebp - 0x10]
call fcn.0042ecb2
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8