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

Disassembly:
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
xor edx, edx
push edi
add eax, 2
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 eax, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [ebx + 0xc], edx
mov edx, dword [ecx + 0x324]
mov dx, word [edx + eax*2]
mov word [ebx + 0x94], dx
mov edi, dword [ecx + 0x318]
lea edx, [eax + eax*2]
add esi, edx
mov esi, dword [edi + esi*4]
mov dword [ebx + 0x40], esi
mov esi, dword [ebx + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp + 8], edx
add edx, esi
mov esi, dword [ecx + 0x318]
shl edx, 2
mov dword [ebp + 0xc], edx
mov edx, dword [edx + esi]
mov dword [ebx + 0x44], edx
mov edx, dword [ecx + 0xc8]
imul edx, dword [ebx + 0x40]
mov esi, dword [ecx + 0x90]
movzx esi, word [esi + 2]
add edi, edx
mov edx, dword [ebx + 4]
add edx, dword [ebp + 8]
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 esi, dword [ecx + 0x31c]
mov edx, dword [esi + edx*4]
mov dword [ebx + 0x10], edx
mov esi, dword [ecx + 0x31c]
and dword [ebx + 0x4c], 0
lea edx, [eax + eax*2]
lea edx, [esi + edx*4]
mov dword [ebx + 0x48], edx
mov esi, edx
mov edx, dword [ebx + 8]
mov edx, dword [esi + edx*4]
or edi, 0xffffffff
cmp edx, edi
mov dword [ebx + 0x20], edx
je 0x58349f
mov ecx, dword [ecx + 0x31c]
push eax
lea eax, [edx + edx*2]
lea eax, [ecx + eax*4]
push eax
call fcn.0056b075
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x24], eax
or edi, 0xffffffff
mov eax, dword [ebx + 0xc]
mov esi, dword [esi + eax*4]
cmp esi, edi
mov dword [ebx + 0x28], esi
je 0x5834c9
mov ecx, dword [ecx + 0x31c]
push dword [ebx]
lea eax, [esi + esi*2]
lea eax, [ecx + eax*4]
push eax
call fcn.0056b075
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x2c], eax
or edi, 0xffffffff
mov eax, dword [ebx + 4]
add eax, dword [ebp + 8]
mov edx, dword [ecx + 0x318]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x6c], eax
mov eax, dword [ecx + 0x318]
mov eax, dword [edx + eax]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x20]
cmp eax, edi
jne 0x5834f5
mov eax, edi
jmp 0x583504
mov edx, dword [ecx + 0x318]
lea eax, [eax + eax*2]
add eax, dword [ebx + 0x24]
mov eax, dword [edx + eax*4]
mov esi, dword [ebx + 0x28]
cmp esi, edi
mov dword [ebx + 0x5c], eax
jne 0x583512
mov eax, edi
jmp 0x58352e
mov eax, dword [ebx + 0x2c]
inc eax
xor edx, edx
push 3
pop edi
div edi
lea eax, [esi + esi*2]
add edx, eax
mov eax, dword [ecx + 0x318]
mov eax, dword [eax + edx*4]
or edi, 0xffffffff
mov esi, dword [ebx + 0x10]
cmp esi, edi
mov dword [ebx + 0x60], eax
je 0x583645
mov eax, dword [ecx + 0x324]
mov ax, word [eax + esi*2]
push dword [ebx]
mov word [ebx + 0x96], ax
mov ecx, dword [ecx + 0x31c]
lea eax, [esi + esi*2]
lea eax, [ecx + eax*4]
push eax
mov dword [ebx + 0x4c], eax
call fcn.0056b075
mov edi, eax
xor edx, edx
push 3
pop ecx
lea eax, [edi + 2]
div ecx
lea eax, [edi + 1]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edx
mov dword [ebp + 0xc], edx
xor edx, edx
div ecx
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x1c], edx
mov eax, dword [eax + edx*4]
cmp eax, 0xffffffff
mov dword [ebp + 8], edx
mov dword [ebx + 0x30], eax
je 0x5835b0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x31c]
lea eax, [eax + eax*2]
push esi
lea eax, [ecx + eax*4]
push eax
call fcn.0056b075
mov edx, dword [ebp + 8]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
cmp eax, 0xffffffff
mov dword [ebx + 0x38], eax
je 0x5835dd
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x31c]
lea eax, [eax + eax*2]
push esi
lea eax, [ecx + eax*4]
push eax
call fcn.0056b075
mov edx, dword [ebp + 8]
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x318]
lea esi, [esi + esi*2]
add edx, esi
mov eax, dword [eax + edx*4]
mov dword [ebx + 0x74], eax
mov eax, dword [ecx + 0x318]
add esi, edi
mov eax, dword [eax + esi*4]
mov esi, dword [ebx + 0x30]
mov dword [ebx + 0x78], eax
or eax, 0xffffffff
cmp esi, eax
je 0x583622
mov eax, dword [ebx + 0x34]
inc eax
push 3
xor edx, edx
pop edi
div edi
lea eax, [esi + esi*2]
add edx, eax
mov eax, dword [ecx + 0x318]
mov eax, dword [eax + edx*4]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x38]
cmp eax, 0xffffffff
jne 0x583631
or eax, eax
jmp 0x583640
mov ecx, dword [ecx + 0x318]
lea eax, [eax + eax*2]
add eax, dword [ebx + 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [ebx + 0x68], eax
jmp 0x583657
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