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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x4c
mov esi, ecx
mov ecx, dword [esp + 0x60]
mov ebp, dword [esi + 0x46c]
mov eax, dword [ecx + 4]
xor edx, edx
div ebp
xor edx, edx
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0xc]
div ebp
xor edx, edx
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
div ebp
xor edx, edx
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esi + 0xe8]
div ebp
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 0xc]
test eax, eax
je 0x419066
mov ecx, dword [esi + 0xe4]
mov eax, dword [ecx]
call dword [eax + 0x1f0]
movzx eax, byte [eax + 0x21]
test eax, eax
je 0x419060
mov eax, dword [esi + 0xe8]
mov byte [eax + 0x5c], 1
mov edx, dword [esi + 0xe8]
mov dword [edx + 0x60], 0
mov ebx, dword [esi + 0xc4]
mov ecx, dword [ebx + 0x54]
call fcn.00425a88
lea edx, [eax + eax]
add edx, eax
mov eax, edx
shr eax, 0x1f
add edx, eax
sar edx, 1
push edx
mov ecx, dword [esi + 0xe8]
call fcn.004685b4
mov ebp, dword [esi + 0xe8]
mov eax, dword [esi + 0xc4]
mov edx, dword [eax + 0x44]
test edx, edx
je 0x41919f
movzx ebx, byte [esi + 0x70]
test ebx, ebx
je 0x418f2c
cmp dword [esi + 0xa8], 0
je 0x418f0b
mov ecx, dword [esi + 0x68]
mov ebx, dword [ecx]
lea edi, [esp + 0x38]
push edi
push dword [esi + 0x48]
push ebp
push dword [eax + 0x4c]
push edx
call dword [ebx + 0x20]
mov ebx, eax
mov ebp, dword [esi + 0xe8]
jmp 0x418fc7
mov ecx, dword [esi + 0x68]
mov ebx, dword [ecx]
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x48]
push ebp
push 0
push edx
call dword [ebx + 0x20]
mov ebx, eax
mov ebp, dword [esi + 0xe8]
jmp 0x418fc7
movzx ebx, byte [esi + 0x78]
test ebx, ebx
jne 0x418fad
movzx eax, byte [esi + 0x88]
test eax, eax
jne 0x418f4e
movzx eax, byte [esi + 0x80]
test eax, eax
jne 0x418f4e
test ebx, ebx
je 0x418f92
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], edi
mov ecx, dword [esi + 0x68]
mov ebx, dword [ecx]
push eax
mov edx, dword [esi + 0xc4]
push dword [esi + 0x48]
push ebp
push dword [edx + 0x44]
call dword [ebx + 0x18]
mov ebx, eax
mov ebp, dword [esi + 0xe8]
jmp 0x418fc7
mov ecx, dword [esi + 0x68]
mov ebx, dword [ecx]
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x48]
push edx
call dword [ebx + 0x24]
mov ebx, eax
mov ebp, dword [esi + 0xe8]
jmp 0x418fc7
mov ecx, dword [esi + 0x68]
mov ebx, dword [ecx]
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x48]
push ebp
push edx
call dword [ebx + 0x1c]
mov ebx, eax
mov ebp, dword [esi + 0xe8]
mov byte [ebp + 0x5c], 0
mov ecx, dword [esi + 0xe8]
mov edi, dword [ecx + 0x60]
test edi, edi
jle 0x419193
mov dword [ecx + 0x60], 0
mov ecx, dword [esi + 0xe8]
mov ebp, dword [ecx + 0x58]
test ebx, ebx
ja 0x419177
push 0xc
push ebp
call fcn.00468068
lea ebx, [ebx + edi - 0xc]
mov ecx, ebx
and ecx, 0xff000000
shr ecx, 0x18
mov eax, ebx
and eax, 0xff0000
shr eax, 8
or ecx, eax
mov edx, ebx
and edx, 0xff00
shl edx, 8
or ecx, edx
mov edi, ebx
shl edi, 0x18
or ecx, edi
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x48]
mov ecx, dword [esi + 0xe8]
push 4
push eax
call fcn.00468068
push ebx
add ebp, 0xc
mov ecx, dword [esi + 0xe8]
push ebp
call fcn.00468068
mov eax, 1
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov ecx, dword [esi + 0xe8]
mov eax, dword [esi + 0xc4]
mov edx, dword [eax + 0x44]
test edx, edx
je 0x4191db
movzx ebx, byte [esi + 0x70]
test ebx, ebx
je 0x4190cb
cmp dword [esi + 0xa8], 0
je 0x4190aa
mov edi, dword [esi + 0x68]
mov ebx, dword [edi]
lea ebp, [esp + 0x38]
push ebp
push dword [esi + 0x48]
push ecx
mov ecx, edi
push dword [eax + 0x4c]
push edx
call dword [ebx + 0x20]
mov ecx, dword [esi + 0xe8]
jmp 0x419164
mov ebx, dword [esi + 0x68]
mov ebp, dword [ebx]
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x48]
push ecx
mov ecx, ebx
push 0
push edx
call dword [ebp + 0x20]
mov ecx, dword [esi + 0xe8]
jmp 0x419164
movzx ebx, byte [esi + 0x78]
test ebx, ebx
jne 0x41914a
movzx eax, byte [esi + 0x88]
test eax, eax
jne 0x4190ed
movzx eax, byte [esi + 0x80]
test eax, eax
jne 0x4190ed
test ebx, ebx
je 0x419131
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x44]
lea edi, [esp + 0x28]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebp
mov edx, dword [esi + 0x68]
mov ebx, dword [edx]
push edi
mov eax, dword [esi + 0xc4]
push dword [esi + 0x48]
push ecx
mov ecx, edx
push dword [eax + 0x44]
call dword [ebx + 0x18]
mov ecx, dword [esi + 0xe8]
jmp 0x419164
mov ecx, dword [esi + 0x68]
mov ebx, dword [ecx]
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x48]
push edx
call dword [ebx + 0x24]
mov ecx, dword [esi + 0xe8]
jmp 0x419164
mov ebx, dword [esi + 0x68]
mov ebp, dword [ebx]
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x48]
push ecx
mov ecx, ebx
push edx
call dword [ebp + 0x1c]
mov ecx, dword [esi + 0xe8]
push eax
push dword [esi + 0x48]
call fcn.00468068
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret 4
push ebx
lea edx, [ebp + edi]
push dword [esi + 0x48]
push edx
call fcn.0049106c
add esp, 0xc
mov ecx, dword [esi + 0xe8]
jmp 0x418ff4
mov edi, ebx
mov ebp, dword [esi + 0x48]
xor ebx, ebx
jmp 0x418ff4
mov dword [esp + 4], 0
mov ecx, 0x4a3b98
mov dword [esp], ecx
mov dword [esp + 8], 0x4baa80
cmp dword [0x4a3ba4], 0
jl 0x4191d4
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call fcn.0045763c
mov ebp, dword [esi + 0xe8]
xor ebx, ebx
jmp 0x418fc7
mov dword [esp + 0x10], 0
mov edx, 0x4a3b98
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], 0x4baa80
cmp dword [0x4a3ba4], 0
jl 0x419213
lea eax, [esp + 0x18]
mov ecx, edx
push eax
push dword [esp + 0x18]
call fcn.0045763c
mov ecx, dword [esi + 0xe8]
xor eax, eax
jmp 0x419164