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

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, dword [edi + 0xd0]
lea esi, [edi + 0x50]
inc ebx
mov byte [ebx + esi - 1], 0x80
cmp ebx, 0x70
jbe 0x40f5bc
mov eax, 0x80
sub eax, ebx
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.00416570
push 1
push esi
push edi
xor ebx, ebx
call fcn.00430480
add esp, 0x18
mov eax, 0x70
sub eax, ebx
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.00416570
movzx eax, byte [edi + 0x40]
mov byte [esi + 0x7f], al
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x44]
shrd ecx, eax, 8
mov byte [esi + 0x7e], cl
mov ecx, dword [edi + 0x40]
shr eax, 8
mov eax, dword [edi + 0x44]
shrd ecx, eax, 0x10
mov byte [esi + 0x7d], cl
mov ecx, dword [edi + 0x40]
shr eax, 0x10
mov eax, dword [edi + 0x44]
shrd ecx, eax, 0x18
mov byte [esi + 0x7c], cl
mov edx, dword [edi + 0x44]
shr eax, 0x18
mov eax, dword [edi + 0x40]
add esp, 0xc
mov cl, 0x20
call fcn.00415ed0
mov byte [esi + 0x7b], al
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov cl, 0x28
call fcn.00415ed0
mov byte [esi + 0x7a], al
movzx eax, byte [edi + 0x46]
mov byte [esi + 0x79], al
movzx eax, byte [edi + 0x47]
mov byte [esi + 0x78], al
movzx eax, byte [edi + 0x48]
mov byte [esi + 0x77], al
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x4c]
shrd ecx, eax, 8
mov byte [esi + 0x76], cl
mov ecx, dword [edi + 0x48]
shr eax, 8
mov eax, dword [edi + 0x4c]
shrd ecx, eax, 0x10
mov byte [esi + 0x75], cl
mov ecx, dword [edi + 0x48]
shr eax, 0x10
mov eax, dword [edi + 0x4c]
shrd ecx, eax, 0x18
mov byte [esi + 0x74], cl
mov edx, dword [edi + 0x4c]
shr eax, 0x18
mov eax, dword [edi + 0x48]
mov cl, 0x20
call fcn.00415ed0
mov byte [esi + 0x73], al
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
mov cl, 0x28
call fcn.00415ed0
mov byte [esi + 0x72], al
movzx eax, byte [edi + 0x4e]
mov byte [esi + 0x71], al
movzx eax, byte [edi + 0x4f]
push 1
push esi
push edi
mov byte [esi + 0x70], al
call fcn.00430480
mov esi, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
jne 0x40f6b6
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [edi + 0xd4]
cmp eax, 0x30
je 0x40f931
cmp eax, 0x40
jne 0x40f6b0
mov edx, dword [edi + 4]
mov ebx, dword [edi]
mov eax, edx
shr eax, 0x18
mov byte [esi], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr eax, 8
mov byte [esi + 2], al
mov byte [esi + 3], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
shr eax, 0x18
mov byte [esi + 4], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 5], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 6], al
mov byte [esi + 7], bl
mov ebx, dword [edi + 8]
shr edx, 8
mov edx, dword [edi + 0xc]
mov eax, edx
shr eax, 0x18
mov byte [esi + 8], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 9], al
mov eax, edx
shr eax, 8
mov byte [esi + 0xa], al
mov byte [esi + 0xb], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
shr eax, 0x18
mov byte [esi + 0xc], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0xd], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0xe], al
mov byte [esi + 0xf], bl
mov ebx, dword [edi + 0x10]
shr edx, 8
mov edx, dword [edi + 0x14]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x10], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x11], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x12], al
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
mov byte [esi + 0x13], dl
shr eax, 0x18
mov byte [esi + 0x14], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x15], cl
mov byte [esi + 0x16], al
shr edx, 8
mov byte [esi + 0x17], bl
mov edx, dword [edi + 0x1c]
mov ebx, dword [edi + 0x18]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x18], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x19], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x1a], al
mov byte [esi + 0x1b], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
shr eax, 0x18
mov byte [esi + 0x1c], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x1d], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], bl
mov ebx, dword [edi + 0x20]
shr edx, 8
mov edx, dword [edi + 0x24]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x20], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x21], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x22], al
mov byte [esi + 0x23], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
shr eax, 0x18
mov byte [esi + 0x24], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x25], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x26], al
mov byte [esi + 0x27], bl
mov ebx, dword [edi + 0x28]
shr edx, 8
mov edx, dword [edi + 0x2c]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x28], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x29], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x2a], al
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
mov byte [esi + 0x2b], dl
shr eax, 0x18
mov byte [esi + 0x2c], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x2d], cl
mov byte [esi + 0x2e], al
shr edx, 8
mov byte [esi + 0x2f], bl
mov edx, dword [edi + 0x34]
mov ebx, dword [edi + 0x30]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x32], al
mov byte [esi + 0x33], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
shr eax, 0x18
mov byte [esi + 0x34], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x35], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x36], al
mov byte [esi + 0x37], bl
mov ebx, dword [edi + 0x38]
shr edx, 8
mov edx, dword [edi + 0x3c]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x39], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x3a], al
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
mov byte [esi + 0x3b], dl
shr eax, 0x18
mov byte [esi + 0x3c], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x3d], cl
mov byte [esi + 0x3e], al
pop edi
mov byte [esi + 0x3f], bl
pop esi
shr edx, 8
mov eax, 1
pop ebx
ret
mov edx, dword [edi + 4]
mov ebx, dword [edi]
mov eax, edx
shr eax, 0x18
mov byte [esi], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr eax, 8
mov byte [esi + 2], al
mov byte [esi + 3], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
shr eax, 0x18
mov byte [esi + 4], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 5], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 6], al
mov byte [esi + 7], bl
mov ebx, dword [edi + 8]
shr edx, 8
mov edx, dword [edi + 0xc]
mov eax, edx
shr eax, 0x18
mov byte [esi + 8], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 9], al
mov eax, edx
shr eax, 8
mov byte [esi + 0xa], al
mov byte [esi + 0xb], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
shr eax, 0x18
mov byte [esi + 0xc], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0xd], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0xe], al
mov byte [esi + 0xf], bl
mov ebx, dword [edi + 0x10]
shr edx, 8
mov edx, dword [edi + 0x14]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x10], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x11], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x12], al
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
mov byte [esi + 0x13], dl
shr eax, 0x18
mov byte [esi + 0x14], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x15], cl
mov byte [esi + 0x16], al
shr edx, 8
mov byte [esi + 0x17], bl
mov edx, dword [edi + 0x1c]
mov ebx, dword [edi + 0x18]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x18], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x19], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x1a], al
mov byte [esi + 0x1b], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
shr eax, 0x18
mov byte [esi + 0x1c], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x1d], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], bl
mov ebx, dword [edi + 0x20]
shr edx, 8
mov edx, dword [edi + 0x24]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x20], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x21], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x22], al
mov byte [esi + 0x23], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
shr eax, 0x18
mov byte [esi + 0x24], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x25], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x26], al
mov byte [esi + 0x27], bl
mov ebx, dword [edi + 0x28]
shr edx, 8
mov edx, dword [edi + 0x2c]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x28], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x29], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x2a], al
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
mov byte [esi + 0x2b], dl
shr eax, 0x18
mov byte [esi + 0x2c], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x2d], cl
mov byte [esi + 0x2e], al
mov byte [esi + 0x2f], bl
shr edx, 8
pop edi
pop esi
mov eax, 1
pop ebx
ret