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

Disassembly:
sub esp, 0xa4
push ebp
mov ebp, dword [esp + 0xac]
push edi
xor edi, edi
cmp eax, edi
jne 0x41b722
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0xb8]
push edx
push ebx
push eax
push ecx
push ebp
call fcn.0041ad40
add esp, 0x18
pop edi
pop ebp
add esp, 0xa4
ret
mov edx, dword [0x435058]
mov dword [0x435058], edi
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
imul ecx, dword [eax]
imul ecx, ebx
push esi
push ecx
mov dword [esp + 0x30], edx
call fcn.0041fcea
mov ecx, 2
mov edx, 8
mov esi, 1
mov dword [esp + 0x10], eax
mov eax, 4
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], edi
jmp 0x41b800
mov ecx, dword [ebp]
mov eax, dword [esp + edi + 0x78]
mov edx, dword [ecx]
mov esi, dword [esp + edi + 0x5c]
sub edx, eax
mov dword [esp + 0x24], eax
lea eax, [edx + esi - 1]
xor edx, edx
div esi
mov edx, dword [esp + edi + 0x94]
mov ecx, dword [ecx + 4]
sub ecx, edx
mov dword [esp + 0x30], edx
xor edx, edx
mov esi, eax
mov eax, dword [esp + edi + 0x40]
lea eax, [ecx + eax - 1]
div dword [esp + edi + 0x40]
test esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], eax
je 0x41b966
test eax, eax
je 0x41b966
mov edx, dword [esp + 0xbc]
push eax
mov eax, dword [esp + 0xbc]
push esi
push ebx
push edx
push eax
push ebp
call fcn.0041ad40
add esp, 0x18
test eax, eax
je 0x41b996
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle 0x41b931
mov ecx, esi
imul ecx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
test esi, esi
jle 0x41b918
mov ecx, dword [esp + edi + 0x40]
mov edx, dword [esp + 0x30]
imul ecx, eax
mov eax, dword [esp + edi + 0x5c]
add ecx, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
xor edx, edx
mov dword [esp + 0x18], esi
lea ecx, [ecx]
mov edi, dword [ebp]
mov edi, dword [edi]
imul edi, dword [esp + 0x34]
mov esi, dword [ebp + 0xc]
add edi, dword [esp + 0x24]
mov ebp, dword [esp + 0xc]
add edi, edx
imul edi, ebx
add edi, ebp
mov ecx, ebx
mov ebp, ecx
shr ecx, 2
add esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [esp + 0xb4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
add eax, ebx
add edx, esi
dec ecx
mov dword [esp + 0x18], ecx
jne 0x41b8c0
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
add edx, ecx
inc eax
mov dword [esp + 0x14], edx
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
jl 0x41b896
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041fcfc
imul esi, ebx
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
add esp, 4
inc esi
imul esi, dword [esp + 0x10]
add ecx, esi
sub eax, esi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add edi, 4
cmp edi, 0x1c
mov dword [esp + 0x20], edi
jl 0x41b800
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
pop esi
mov dword [ebp + 0xc], eax
pop edi
mov dword [0x435058], ecx
mov eax, 1
pop ebp
add esp, 0xa4
ret
mov edx, dword [esp + 0xc]
push edx
call fcn.0041fcfc
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 0xa4
ret