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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push edx
call fcn.00487e40
push 0xa
push 0x7d0
push dword [0x425044]
call fcn.0049df70
mov dword [0x42577a], eax
push dword [0x42577a]
push dword [0x425044]
call fcn.0049e000
mov dword [0x42577e], eax
push dword [0x42577e]
call fcn.0049e012
mov dword [0x425782], eax
mov ebx, dword [0x425782]
add ebx, 0x26
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x429d34], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x429d08], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x429d04], eax
sub ebx, 4
push dword [ebx]
pop dword [0x42a6df]
sub ebx, 4
push dword [ebx]
pop dword [0x429c14]
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x425766], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x42576e], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x42576a], eax
cmp dword [0x42a6df], 0
jbe 0x4875b0
mov eax, dword [0x42a6df]
add eax, dword [0x425782]
push dword [eax + 4]
pop dword [0x42a6e3]
push eax
mov eax, dword [eax + 8]
cmp eax, 0
jbe 0x48724f
add eax, dword [0x425782]
push dword [eax]
pop dword [0x425859]
add eax, 4
mov dword [0x429d0c], eax
pop eax
push eax
mov eax, dword [eax + 0xc]
cmp eax, 0
jbe 0x48726f
add eax, dword [0x425782]
push dword [eax]
pop dword [0x42670a]
add eax, 4
mov dword [0x426706], eax
pop eax
push eax
mov eax, dword [eax + 0x10]
mov dword [0x425537], eax
add eax, dword [0x425782]
mov dword [0x42553b], eax
pop eax
push eax
mov eax, dword [eax + 0x14]
mov dword [0x429d38], eax
add eax, dword [0x425782]
mov dword [0x429d3c], eax
pop eax
cmp dword [0x429d38], 0
jbe 0x4872e0
push eax
push ebx
mov eax, dword [0x429d3c]
mov ebx, eax
mov eax, dword [eax]
shl eax, 2
add eax, ebx
mov dword [0x42556b], eax
push dword [eax]
pop dword [0x429d40]
shl dword [0x429d40], 2
add eax, dword [ebx + 4]
mov dword [0x42556f], eax
push dword [eax]
pop dword [0x429d44]
shl dword [0x429d44], 2
pop ebx
pop eax
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x42a6e7], eax
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x42a6eb], eax
cmp dword [0x42a6e3], 1
jb 0x4875b0
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x42a6f3], eax
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x42a6f7], eax
cmp dword [0x42a6e3], 2
jb 0x4875b0
push eax
mov eax, dword [eax - 4]
mov dword [ebp - 4], 0xc
mul dword [ebp - 4]
pop ebx
add eax, ebx
mov dword [0x429d20], eax
push dword [eax + 4]
pop dword [0x4256b2]
push dword [eax + 8]
pop dword [0x4256b6]
push dword [eax + 0xc]
pop dword [0x4256ba]
push dword [eax + 0x10]
pop dword [0x4256be]
push dword [eax + 0x14]
pop dword [0x4257ca]
push dword [eax + 0x18]
pop dword [0x4257ce]
push dword [eax + 0x1c]
pop dword [0x4257d2]
push dword [eax + 0x20]
pop dword [0x4257d6]
push dword [eax + 0x24]
pop dword [0x4257da]
push dword [eax + 0x28]
pop dword [0x42578e]
push dword [eax + 0x2c]
pop dword [0x425861]
push dword [eax + 0x30]
pop dword [0x425865]
push dword [eax + 0x34]
pop dword [0x42586d]
push dword [eax + 0x38]
pop dword [0x425871]
push dword [eax + 0x3c]
pop dword [0x4257de]
push dword [eax + 0x40]
pop dword [0x429c4c]
push dword [eax + 0x44]
pop dword [0x429c50]
push dword [eax + 0x48]
pop dword [0x429c54]
push dword [eax + 0x4c]
pop dword [0x4266fe]
push dword [eax + 0x50]
pop dword [0x426702]
push dword [eax + 0x54]
pop dword [0x425792]
push dword [eax + 0x58]
pop dword [0x425796]
push dword [eax + 0x5c]
pop dword [0x4256f2]
push dword [eax + 0x60]
pop dword [0x4256f6]
push dword [eax + 0x64]
pop dword [0x4256fa]
push dword [eax + 0x68]
pop dword [0x4256fe]
push dword [eax + 0x6c]
pop dword [0x425702]
push dword [eax + 0x70]
pop dword [0x425706]
push dword [eax + 0x74]
pop dword [0x42570a]
push dword [eax + 0x78]
pop dword [0x42570e]
push dword [eax + 0x7c]
pop dword [0x429c78]
push dword [eax + 0x80]
pop dword [0x4254c3]
push dword [eax + 0x84]
pop dword [0x4254cb]
push dword [eax + 0x88]
pop dword [0x4254c7]
push dword [eax + 0x8c]
pop dword [0x4257e2]
push dword [eax + 0x90]
pop dword [0x425879]
push dword [eax + 0x94]
pop dword [0x42558f]
push dword [eax + 0x98]
pop dword [0x425889]
push dword [eax + 0x9c]
pop dword [0x42588d]
push dword [eax + 0xa0]
pop dword [0x42579e]
push dword [eax + 0xa4]
pop dword [0x425891]
push dword [eax + 0xa8]
pop dword [0x425567]
push dword [eax + 0xac]
pop dword [0x4258a9]
push dword [eax + 0xb0]
pop dword [0x425573]
push dword [eax + 0xb4]
pop dword [0x42579a]
push dword [eax + 0xb8]
pop dword [0x4255ce]
push dword [eax + 0xbc]
pop dword [0x4255e6]
push dword [eax + 0xfc]
pop dword [0x426782]
push dword [eax + 0x100]
pop dword [0x426786]
push dword [eax + 0x104]
pop dword [0x4257e6]
push dword [eax + 0xc0]
pop dword [0x4267a2]
push dword [eax + 0x108]
pop dword [0x42679a]
push dword [eax + 0x10c]
pop dword [0x42679e]
push dword [eax + 0x110]
pop dword [0x4267ae]
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x429d24], eax
push dword [eax + 4]
pop dword [0x429d28]
push dword [eax + 8]
pop dword [0x429d2c]
push dword [eax + 0xc]
pop dword [0x429d30]
push dword [eax + 0x10]
pop dword [0x4256ee]
cmp dword [0x429d38], 0
jbe 0x4875b0
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x42a703], eax
mov ebx, dword [0x425766]
mov eax, dword [ebx]
add eax, dword [0x425782]
mov ebx, eax
mov eax, dword [ebx]
mov dword [0x425716], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42571a], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42571e], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4258bd], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x425722], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x425726], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42572a], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x425937], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x425926], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42573a], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42573e], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x425772], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x425776], eax
mov dword [ebp - 0x14], ebx
cmp dword [0x429c14], 7
jb 0x487765
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42560e], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x425622], eax
cmp dword [0x429c14], 9
jb 0x487679
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429d14], eax
cmp dword [0x429c14], 9
jb 0x487696
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429d18], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429d1c], eax
cmp dword [0x429c14], 0xa
jb 0x4876ab
cmp dword [0x429c14], 0x186a0
jb 0x4876b7
cmp dword [0x429c14], 0x186a1
jb 0x4876c1
add ebx, 4
mov eax, dword [ebx]
mov dword [0x425612], eax
cmp dword [0x429c14], 0xb
jb 0x4876d6
cmp dword [0x429c14], 0x186a0
jb 0x4876e2
cmp dword [0x429c14], 0x186a2
jb 0x4876ec
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42572e], eax
cmp dword [0x429c14], 0xc
jb 0x487701
cmp dword [0x429c14], 0x186a0
jb 0x48770d
cmp dword [0x429c14], 0x186a3
jb 0x487765
add ebx, 4
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x429d48], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x429d58], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x429d4c], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x429d50], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x429d54], ebx
add ebx, dword [ebp - 0x14]
mov ebx, dword [0x425766]
add ebx, 8
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x425752], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x425756], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x42575a], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x42575e], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [0x425762], eax
cmp dword [0x425726], 0
jne 0x4877ce
mov dword [0x425726], 0x28
cmp dword [0x42572a], 0
jne 0x4877e1
mov dword [0x42572a], 0x14
cmp dword [0x42578e], 1
jne 0x4878ca
mov ebx, dword [0x429d34]
sub ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42b2a3], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429d34]
mov dword [0x42b29f], eax
add ebx, 8
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42b29b], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429d34]
mov dword [0x42b297], eax
add ebx, 8
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42b267], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429d34]
mov dword [0x42b26b], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42b26f], eax
add ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42b27b], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429d34]
mov dword [0x42b277], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42b273], eax
add ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42b287], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429d34]
mov dword [0x42b283], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42b27f], eax
add ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42b293], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429d34]
mov dword [0x42b28f], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42b28b], eax
add eax, dword [0x42b293]
mov dword [0x42559f], eax
mov eax, dword [0x42559f]
add eax, dword [0x425573]
mov dword [0x4255a3], eax
add eax, dword [0x4255ce]
mov dword [0x4255d6], eax
push dword [0x425716]
pop dword [ebp - 4]
cmp dword [0x425722], 1
jne 0x487905
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [ebp - 4], 4
mul dword [ebp - 4]
mov ebx, eax
add ebx, dword [0x425762]
mov eax, dword [ebx]
mul dword [ebp - 4]
add eax, dword [0x42575e]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x42575e]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jge 0x48799e
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx]
mov dword [ebp - 4], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x487998
mov ebx, dword [ebp - 4]
shl ebx, 2
add ebx, dword [0x42576e]
mov eax, dword [ebx]
add eax, dword [0x425782]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0xc]
call fcn.0049dae0
mov ebx, dword [ebp - 0x10]
mov byte ss:[ebx + ebp - 0x9c], 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x9c]
push eax
call fcn.0049d8bb
add dword [ebp - 8], 0x2c
jmp 0x487930
pop edx
pop ebx
leave
ret