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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x68
push eax
push 1
lea ecx, [esp + 0xc]
push 0x60
push ecx
call fcn.004b3875
add esp, 0x10
cmp eax, 1
je 0x48823c
mov eax, 0x20
add esp, 0x68
ret
push ebx
mov ebx, dword [esp + 0x78]
push ebp
push ebx
call fcn.00488125
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
jne 0x48825d
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x68
ret
mov ecx, dword [ebx + 0x10]
mov dl, byte [esp + 0xc]
push esi
mov esi, ebp
imul esi, esi, 0x64
push edi
mov edi, dword [esp + 0x7c]
add esi, ecx
cmp edi, 1
mov byte [esi], dl
jne 0x48829d
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x1a]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x1b]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x4882a1
mov eax, dword [esp + 0x18]
cmp edi, 1
mov dword [esi + 4], eax
jne 0x4882ce
mov ecx, dword [esp + 0x1c]
movzx eax, cl
shl eax, 8
movzx edx, ch
movzx ecx, byte [esp + 0x1e]
or eax, edx
movzx edx, byte [esp + 0x1f]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
jmp 0x4882d2
mov eax, dword [esp + 0x1c]
cmp edi, 1
mov dword [esi + 8], eax
jne 0x4882ff
mov ecx, dword [esp + 0x20]
movzx edx, byte [esp + 0x22]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x23]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x488303
mov eax, dword [esp + 0x20]
cmp edi, 1
mov dword [esi + 0xc], eax
jne 0x488330
mov ecx, dword [esp + 0x24]
movzx eax, cl
shl eax, 8
movzx edx, ch
movzx ecx, byte [esp + 0x26]
or eax, edx
movzx edx, byte [esp + 0x27]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
jmp 0x488334
mov eax, dword [esp + 0x24]
cmp edi, 1
mov dword [esi + 0x10], eax
jne 0x488361
mov ecx, dword [esp + 0x28]
movzx edx, byte [esp + 0x2a]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x2b]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x488365
mov eax, dword [esp + 0x28]
cmp edi, 1
mov dword [esi + 0x14], eax
jne 0x488392
mov ecx, dword [esp + 0x2c]
movzx eax, cl
shl eax, 8
movzx edx, ch
movzx ecx, byte [esp + 0x2e]
or eax, edx
movzx edx, byte [esp + 0x2f]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
jmp 0x488396
mov eax, dword [esp + 0x2c]
cmp edi, 1
mov dword [esi + 0x18], eax
jne 0x4883c3
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + 0x32]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x33]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x4883c7
mov eax, dword [esp + 0x30]
cmp edi, 1
mov dword [esi + 0x1c], eax
jne 0x4883f4
mov ecx, dword [esp + 0x34]
movzx eax, cl
shl eax, 8
movzx edx, ch
movzx ecx, byte [esp + 0x36]
or eax, edx
movzx edx, byte [esp + 0x37]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
jmp 0x4883f8
mov eax, dword [esp + 0x34]
cmp edi, 1
mov dword [esi + 0x20], eax
jne 0x488425
mov ecx, dword [esp + 0x38]
movzx edx, byte [esp + 0x3a]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x3b]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x488429
mov eax, dword [esp + 0x38]
cmp edi, 1
mov dword [esi + 0x24], eax
mov dl, byte [esp + 0x3c]
mov byte [esi + 0x28], dl
jne 0x48845d
mov ecx, dword [esp + 0x40]
movzx edx, byte [esp + 0x42]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x43]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x488461
mov eax, dword [esp + 0x40]
cmp edi, 1
mov dword [esi + 0x2c], eax
jne 0x48848e
mov ecx, dword [esp + 0x44]
movzx eax, cl
shl eax, 8
movzx edx, ch
movzx ecx, byte [esp + 0x46]
or eax, edx
movzx edx, byte [esp + 0x47]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
jmp 0x488492
mov eax, dword [esp + 0x44]
cmp edi, 1
mov dword [esi + 0x30], eax
jne 0x4884bf
mov ecx, dword [esp + 0x48]
movzx edx, byte [esp + 0x4a]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x4b]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x4884c3
mov eax, dword [esp + 0x48]
cmp edi, 1
mov dword [esi + 0x34], eax
jne 0x4884f0
mov ecx, dword [esp + 0x4c]
movzx eax, cl
shl eax, 8
movzx edx, ch
movzx ecx, byte [esp + 0x4e]
or eax, edx
movzx edx, byte [esp + 0x4f]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
jmp 0x4884f4
mov eax, dword [esp + 0x4c]
cmp edi, 1
mov dword [esi + 0x38], eax
jne 0x488521
mov ecx, dword [esp + 0x50]
movzx edx, byte [esp + 0x52]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x53]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x488525
mov eax, dword [esp + 0x50]
cmp edi, 1
mov dword [esi + 0x3c], eax
jne 0x488552
mov ecx, dword [esp + 0x54]
movzx eax, cl
shl eax, 8
movzx edx, ch
movzx ecx, byte [esp + 0x56]
or eax, edx
movzx edx, byte [esp + 0x57]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
jmp 0x488556
mov eax, dword [esp + 0x54]
cmp edi, 1
mov dword [esi + 0x40], eax
jne 0x488583
mov ecx, dword [esp + 0x58]
movzx edx, byte [esp + 0x5a]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x5b]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x488587
mov eax, dword [esp + 0x58]
cmp edi, 1
mov dword [esi + 0x44], eax
jne 0x4885b4
mov ecx, dword [esp + 0x5c]
movzx eax, cl
shl eax, 8
movzx edx, ch
movzx ecx, byte [esp + 0x5e]
or eax, edx
movzx edx, byte [esp + 0x5f]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
jmp 0x4885b8
mov eax, dword [esp + 0x5c]
cmp edi, 1
mov dword [esi + 0x48], eax
jne 0x4885e5
mov ecx, dword [esp + 0x60]
movzx edx, byte [esp + 0x62]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x63]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x4885e9
mov eax, dword [esp + 0x60]
cmp edi, 1
mov dword [esi + 0x4c], eax
jne 0x488616
mov ecx, dword [esp + 0x64]
movzx eax, cl
shl eax, 8
movzx edx, ch
movzx ecx, byte [esp + 0x66]
or eax, edx
movzx edx, byte [esp + 0x67]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
jmp 0x48861a
mov eax, dword [esp + 0x64]
cmp edi, 1
mov dword [esi + 0x50], eax
jne 0x488647
mov ecx, dword [esp + 0x68]
movzx edx, byte [esp + 0x6a]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x6b]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x48864b
mov eax, dword [esp + 0x68]
cmp edi, 1
mov dword [esi + 0x54], eax
jne 0x488678
mov ecx, dword [esp + 0x6c]
movzx eax, cl
shl eax, 8
movzx edx, ch
movzx ecx, byte [esp + 0x6e]
or eax, edx
movzx edx, byte [esp + 0x6f]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
jmp 0x48867c
mov eax, dword [esp + 0x6c]
cmp edi, 1
mov dword [esi + 0x58], eax
jne 0x4886a9
mov ecx, dword [esp + 0x70]
movzx edx, byte [esp + 0x72]
movzx eax, cl
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x73]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x4886ad
mov eax, dword [esp + 0x70]
test eax, eax
mov dword [esi + 0x5c], eax
jbe 0x488748
lea edx, [eax*4]
push edx
call fcn.004664f5
add esp, 4
test eax, eax
mov dword [esi + 0x60], eax
jne 0x4886e6
push ebp
push ebx
call fcn.00487fe5
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x68
ret
mov eax, dword [esi + 0x5c]
xor ebx, ebx
test eax, eax
jbe 0x488748
lea ebx, [ebx]
mov eax, dword [esp + 0x80]
push eax
push 1
lea ecx, [esp + 0x18]
push 4
push ecx
call fcn.004b3875
add esp, 0x10
cmp eax, 1
jne 0x488752
cmp edi, 1
mov eax, dword [esp + 0x10]
jne 0x48873a
xor edx, edx
mov dh, al
movzx eax, ah
or edx, eax
mov ax, word [esp + 0x12]
movzx ecx, al
shl edx, 8
or edx, ecx
movzx eax, ah
shl edx, 8
or eax, edx
mov ecx, dword [esi + 0x60]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x5c]
inc ebx
cmp ebx, eax
jb 0x4886f5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x68
ret
mov edx, dword [esp + 0x84]
push ebp
push edx
mov esi, 0x20
call fcn.00487fe5
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret