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

Disassembly:
sub esp, 0x6c
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
push edi
xor edi, edi
mov edx, 1
sub eax, edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x34], edi
je 0x419097
sub eax, edx
je 0x419034
sub eax, edx
jne 0x419222
push 0xe2b0
call fcn.00432ad8
add esp, 4
cmp eax, edi
je 0x418ed6
call fcn.00406230
mov esi, eax
cmp esi, edi
jne 0x418ee6
mov dword [esp + 0x80], 0x32
jmp 0x419222
lea ebx, [ebp + 0x2c]
mov edx, ebx
mov ecx, esi
call fcn.00416e00
mov edi, eax
mov dword [esp + 0x80], edi
test edi, edi
je 0x418f26
push 0x4833a0
call fcn.0041a6a0
add esp, 4
push ebx
call fcn.0041a6a0
add esp, 4
call fcn.00408610
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
mov eax, dword [esi + 0xe290]
mov dword [ebp + 0xa60], eax
call fcn.00408610
mov ecx, dword [ebp + 0xa60]
xor eax, eax
xor edi, edi
cmp dword [ebp + 0x234], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jle 0x419222
lea edx, [ebp + 0x238]
lea ebx, [ebp + 0xa64]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x88]
push 1
push ecx
call fcn.00415840
mov esi, eax
mov dword [esp + 0x80], esi
test esi, esi
jne 0x418fcf
mov eax, dword [esp + 0x14]
push eax
lea esi, [esp + 0x1c]
mov dword [ebx], eax
call fcn.00413790
add dword [esp + 0x10], 0x208
inc edi
add ebx, 4
cmp edi, dword [ebp + 0x234]
jl 0x418f81
jmp 0x419222
mov ebx, dword [sym.imp.kernel32.dll_EnterCriticalSection]
push 0x4d6b98
call ebx
mov eax, dword [0x4dbb60]
test eax, eax
je 0x418fef
push 0x4833d8
call eax
add esp, 4
push 0x4d6b98
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push 0x4d6b98
call ebx
mov eax, dword [0x4dbb60]
test eax, eax
je 0x41901d
imul edi, edi, 0x208
lea edx, [edi + ebp + 0x238]
push edx
call eax
add esp, 4
push 0x4d6b98
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x88]
push edx
lea ecx, [ebp + 0x238]
push ecx
call fcn.00415840
mov dword [esp + 0x80], eax
cmp eax, edi
jne 0x419222
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
mov dword [ebp + 0xa64], eax
jmp 0x419222
mov eax, dword [ebp + 0x34]
xor ebx, ebx
test al, 1
je 0x4190a5
mov ebx, 0x1a
test al, 2
je 0x4190ac
add ebx, 0x1a
test al, 4
je 0x4190b3
add ebx, 0xa
test al, 8
je 0x4190ba
add ebx, 0x22
test al, 0x40
je 0x4190c1
add ebx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x40]
cmp ecx, edi
je 0x419153
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jle 0x419222
lea esi, [ebp + 0x44]
mov edi, ecx
nop
movzx eax, word [ebp + 0x144]
cmp word [esi], ax
jne 0x419146
xor eax, eax
lea edx, [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push edx
mov eax, edx
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x5c], ebx
call fcn.00412d10
add esp, 8
add esi, 2
sub edi, 1
jne 0x419100
jmp 0x419222
mov edi, dword [ebp + 0x2c]
cmp edi, dword [ebp + 0x30]
jbe 0x41915e
mov dword [ebp + 0x30], edi
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
test edi, edi
jle 0x4191c9
mov esi, edi
xor eax, eax
lea ecx, [esp + 0x38]
mov edx, ecx
push ecx
push edx
mov dword [esp + 0x7c], eax
lea edx, [esp + 0x60]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
call fcn.00412d10
add esp, 8
sub esi, 1
jne 0x41918a
cmp edi, dword [ebp + 0x30]
jg 0x419222
mov esi, dword [ebp + 0x30]
sub esi, edi
inc esi
lea eax, [esp + 0x18]
lea edx, [esp + 0x38]
mov edi, eax
call fcn.00412870
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x38]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x60]
mov dword [esp + 0x7c], ebx
call fcn.00412d10
add esp, 8
sub esi, 1
jne 0x4191d4
mov eax, dword [esp + 0x80]
lea edi, [ebp + 4]
mov ecx, 8
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8