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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
or eax, 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebx], edx
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
push esi
push edi
add eax, 2
xor edx, edx
push 3
pop esi
div esi
mov eax, dword [ebx + 4]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebx + 8], edx
xor edx, edx
div esi
mov esi, dword [ebx + 4]
mov dword [ebx + 0xc], edx
mov eax, dword [ecx + 0xcc]
mov eax, dword [eax + 0x258]
mov edx, dword [ebx]
mov ax, word [eax + edx*2]
mov word [ebx + 0x94], ax
mov edi, dword [ecx + 0xcc]
mov edi, dword [edi + 0x24c]
mov eax, edx
imul eax, eax, 3
add esi, eax
mov esi, dword [edi + esi*4]
mov dword [ebx + 0x40], esi
mov edi, dword [ecx + 0xcc]
mov edi, dword [edi + 0x24c]
mov esi, dword [ebx + 0xc]
add esi, eax
shl esi, 2
mov dword [ebp + 0xc], esi
mov esi, dword [esi + edi]
mov dword [ebx + 0x44], esi
mov edi, dword [ecx + 0xc8]
imul edi, dword [ebx + 0x40]
mov esi, dword [ecx + 0x90]
movzx esi, word [esi + 2]
add edi, dword [ebp + 0x10]
mov dword [ebp + 8], eax
add esi, edi
lea edi, [ebx + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ecx + 0xcc]
mov edi, dword [edi + 0x250]
mov esi, dword [ebx + 4]
add esi, eax
mov esi, dword [edi + esi*4]
mov dword [ebx + 0x10], esi
mov edi, dword [ecx + 0xcc]
mov esi, edx
imul esi, esi, 0xc
add esi, dword [edi + 0x250]
and dword [ebx + 0x4c], 0
mov dword [ebx + 0x48], esi
mov edi, esi
mov esi, dword [ebx + 8]
mov esi, dword [edi + esi*4]
cmp esi, 0xffffffff
mov dword [ebx + 0x20], esi
je 0x585373
mov eax, dword [ecx + 0xcc]
imul esi, esi, 0xc
add esi, dword [eax + 0x250]
push edx
push esi
call fcn.0057d9ac
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0xc]
mov edx, dword [edi + edx*4]
or edi, 0xffffffff
cmp edx, edi
mov dword [ebx + 0x28], edx
je 0x5853a5
mov eax, dword [ecx + 0xcc]
imul edx, edx, 0xc
push dword [ebx]
add edx, dword [eax + 0x250]
push edx
call fcn.0057d9ac
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 8]
or edi, edi
mov edx, dword [ebx + 4]
add edx, eax
mov eax, dword [ecx + 0xcc]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x6c], eax
mov eax, dword [ecx + 0xcc]
mov eax, dword [eax + 0x24c]
mov eax, dword [edx + eax]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x20]
cmp eax, edi
jne 0x5853dc
mov eax, edi
jmp 0x5853f1
mov edx, dword [ecx + 0xcc]
imul eax, eax, 3
add eax, dword [ebx + 0x24]
mov edx, dword [edx + 0x24c]
mov eax, dword [edx + eax*4]
mov esi, dword [ebx + 0x28]
cmp esi, edi
mov dword [ebx + 0x5c], eax
jne 0x5853ff
mov eax, edi
jmp 0x585421
mov eax, dword [ebx + 0x2c]
imul esi, esi, 3
inc eax
xor edx, edx
push 3
pop edi
div edi
mov eax, dword [ecx + 0xcc]
mov eax, dword [eax + 0x24c]
add edx, esi
mov eax, dword [eax + edx*4]
or edi, 0xffffffff
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x585566
mov edx, dword [ecx + 0xcc]
mov edx, dword [edx + 0x258]
mov dx, word [edx + eax*2]
imul eax, eax, 0xc
push dword [ebx]
mov word [ebx + 0x96], dx
mov ecx, dword [ecx + 0xcc]
mov ecx, dword [ecx + 0x250]
add eax, ecx
push eax
mov dword [ebx + 0x4c], eax
call fcn.0057d9ac
mov esi, eax
push 3
xor edx, edx
pop ecx
lea eax, [esi + 2]
div ecx
push 3
pop edi
lea eax, [esi + 1]
mov dword [ebx + 0x14], esi
mov ecx, edx
xor edx, edx
div edi
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x18], ecx
mov dword [ebp + 8], ecx
mov edi, edx
mov dword [ebx + 0x1c], edi
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
mov dword [ebx + 0x30], eax
je 0x5854b7
mov ecx, dword [ebp - 4]
imul eax, eax, 0xc
mov ecx, dword [ecx + 0xcc]
push dword [ebx + 0x10]
add eax, dword [ecx + 0x250]
push eax
call fcn.0057d9ac
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + ecx*4]
cmp eax, 0xffffffff
mov dword [ebx + 0x38], eax
je 0x5854e3
mov ecx, dword [ebp - 4]
imul eax, eax, 0xc
mov ecx, dword [ecx + 0xcc]
push dword [ebx + 0x10]
add eax, dword [ecx + 0x250]
push eax
call fcn.0057d9ac
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 4]
imul eax, eax, 3
mov edx, dword [ecx + 0xcc]
mov edx, dword [edx + 0x24c]
add edi, eax
mov edx, dword [edx + edi*4]
mov dword [ebx + 0x74], edx
mov edx, dword [ecx + 0xcc]
mov edx, dword [edx + 0x24c]
add eax, esi
mov eax, dword [edx + eax*4]
mov esi, dword [ebx + 0x30]
mov dword [ebx + 0x78], eax
or eax, 0xffffffff
cmp esi, eax
je 0x58553d
mov eax, dword [ebx + 0x34]
imul esi, esi, 3
inc eax
push 3
xor edx, edx
pop edi
div edi
mov eax, dword [ecx + 0xcc]
mov eax, dword [eax + 0x24c]
add edx, esi
mov eax, dword [eax + edx*4]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x38]
cmp eax, 0xffffffff
jne 0x58554c
or eax, eax
jmp 0x585561
mov ecx, dword [ecx + 0xcc]
imul eax, eax, 3
add eax, dword [ebx + 0x3c]
mov ecx, dword [ecx + 0x24c]
mov eax, dword [ecx + eax*4]
mov dword [ebx + 0x68], eax
jmp 0x585578
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x68], edi
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x74], edi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc