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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
push edi
call fcn.00416460
push dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
mov esi, eax
lea eax, [esp + 0x44]
mov dword [esp + 0x24], esi
push eax
push ebp
call fcn.004164c0
mov ebx, dword [esp + 0x78]
add esp, 0x10
mov ecx, ebx
shl ecx, 4
mov dword [esp + 0x28], ecx
cmp ebx, esi
jae 0x415d8e
mov al, byte [edi + 7]
mov ebp, ebx
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x43]
mov byte [edi + 7], al
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 8], ebx
mov ebx, ecx
mov dword [edi + 0x14], eax
mov esi, dword [edi + 0xc]
add esi, ebx
test byte [esi + 8], 0xf
je 0x415d3f
lea eax, [ebp + 1]
push 0
push eax
push edi
call fcn.00415540
mov edx, eax
add esp, 0xc
cmp byte [edx + 8], 0x20
jne 0x415d2f
lea eax, [ebp + 1]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push esi
push eax
push edi
push dword [esp + 0x6c]
mov byte [esp + 0x44], 3
call fcn.00415880
add esp, 0x10
jmp 0x415d3f
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov al, byte [esi + 8]
mov byte [edx + 8], al
mov esi, dword [esp + 0x1c]
inc ebp
add ebx, 0x10
cmp ebp, esi
jb 0x415ce4
mov bl, byte [esp + 0x13]
mov al, byte [edi + 7]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov ebp, dword [esp + 0x60]
mov byte [edi + 7], bl
mov ebx, dword [esp + 0x20]
mov dword [edi + 0x10], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
mov dword [edi + 0x14], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi + 8], esi
mov dword [esp + 0x18], edx
mov byte [esp + 0x43], al
mov dword [esp + 0x50], edx
jmp 0x415da2
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x43]
push ecx
shl esi, 4
push esi
push dword [edi + 0xc]
mov byte [esp + 0x70], al
push ebp
call fcn.0040f2c0
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x415dc5
test ebx, ebx
jne 0x415e89
mov eax, dword [edi + 0x10]
mov dl, byte [edi + 7]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x64]
mov byte [edi + 7], al
mov eax, dword [esp + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x68], dl
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ebx
cmp eax, ebx
jae 0x415e10
sub ebx, eax
nop
mov eax, dword [edi + 0xc]
lea esi, [esi + 0x10]
mov byte [eax + esi - 8], 0x10
sub ebx, 1
jne 0x415e00
mov eax, 1
mov cl, dl
mov ebx, eax
shl ebx, cl
test ebx, ebx
jle 0x415e62
mov esi, dword [esp + 0x20]
add esi, 0x10
test byte [esi - 8], 0xf
je 0x415e53
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov al, byte [esi - 7]
mov byte [esp + 0x34], al
lea eax, [esi - 0x10]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ecx
push eax
push edi
push ebp
call fcn.00415ee0
add esp, 0x10
add esi, 0x18
sub ebx, 1
jne 0x415e26
mov dl, byte [esp + 0x68]
lea eax, [ebx + 1]
cmp dword [esp + 0x28], 0
je 0x415e81
mov cl, dl
shl eax, cl
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [esp + 0x24]
push ebp
call fcn.0040f1b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.004151d0
add esp, 8
push 4
push ebp
call fcn.00408cc0
int3