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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [edi], 0
mov dword [edi + 4], 0
cmp eax, 0x339f
jg case.0x57b290.3408
je 0x57b8f4
sub eax, 0xd4b
cmp eax, 0x60
ja case.0x57b290.3408
movzx eax, byte [eax + 0x57ba20]
jmp dword [eax*4 + 0x57b9c0]
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b2be
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b2be
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b2c7
mov ecx, dword [0x620064]
mov eax, dword [ecx + 8]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b2f0
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b2f0
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0xc]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b31f
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b31f
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b328
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x10]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b351
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b351
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0x14]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b380
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b380
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b389
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x18]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b3b2
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b3b2
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0x1c]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b3e1
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b3e1
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b3ed
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0xa8]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b416
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b416
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0xac]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b448
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b448
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b451
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x28]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b47a
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b47a
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0x2c]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b4a9
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b4a9
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b4b2
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x30]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b4db
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b4db
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0x34]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b50a
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b50a
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b513
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x38]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b801
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b801
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b56b
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b56b
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b574
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x78]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b59d
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b59d
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0x7c]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b5cc
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b5cc
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b5d8
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x80]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b601
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b601
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0x84]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b633
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b633
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b63c
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x40]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b814
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b814
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b694
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b694
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b69d
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x58]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b6c6
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b6c6
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0x5c]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b6f5
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b6f5
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b6fe
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x60]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b727
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b727
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0x64]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b756
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b756
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b762
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x88]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b78b
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b78b
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0x8c]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b7bd
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b7bd
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b7c5
mov ecx, dword [0x620064]
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b7ee
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b7ee
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 4]
jmp 0x57b953
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x38]
mov dword [edi], eax
mov eax, dword [ecx + 0x3c]
jmp 0x57b953
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x40]
mov dword [edi], eax
mov eax, dword [ecx + 0x44]
jmp 0x57b953
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x20]
mov dword [edi], eax
mov eax, dword [ecx + 0x24]
jmp 0x57b953
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x68]
mov dword [edi], eax
mov eax, dword [ecx + 0x6c]
jmp 0x57b953
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x48]
mov dword [edi], eax
mov eax, dword [ecx + 0x4c]
jmp 0x57b953
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x50]
mov dword [edi], eax
mov eax, dword [ecx + 0x54]
jmp 0x57b953
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0
jmp 0x57b95b
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x98]
mov dword [edi], eax
mov eax, dword [ecx + 0x9c]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b8ba
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b8ba
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b8c6
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0xa0]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b8ec
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b8ec
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0xa4]
jmp 0x57b953
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
test eax, eax
je 0x57b91b
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x57b91b
mov edx, dword [edx]
mov ecx, dword [esi + 0x2c]
call fcn.00586df0
mov ecx, dword [0x620064]
jmp 0x57b927
mov ecx, dword [0x620064]
mov eax, dword [ecx + 0x90]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
cmp eax, 1
jbe 0x57b94d
mov edx, dword [esi + 0x18]
cmp dword [edx + 4], 0
je 0x57b94d
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x2c]
call fcn.00586e80
jmp 0x57b953
mov eax, dword [ecx + 0x94]
cmp dword [edi], 0
mov dword [edi + 4], eax
jge case.0x57b290.3408
mov eax, dword [edi]
cdq
mov ecx, eax
mov eax, dword [ebp + 0xc]
xor ecx, edx
sub ecx, edx
cdq
idiv ecx
mov dword [edi], eax
mov eax, dword [edi + 4]
mov ebx, dword [ebp + 0x10]
test eax, eax
jns 0x57b985
cdq
mov ecx, eax
mov eax, ebx
xor ecx, edx
sub ecx, edx
cdq
idiv ecx
mov dword [edi + 4], eax
mov eax, dword [esi]
cmp eax, 0xd4e
je 0x57b9b6
cmp eax, 0xd63
je 0x57b9b6
cmp eax, 0xd64
je 0x57b9b6
cmp eax, 0xd59
je 0x57b9b6
cmp eax, 0xdaa
je 0x57b9b6
mov eax, dword [edi + 4]
cmp ebx, eax
jg 0x57b9b3
mov ebx, eax
mov dword [edi + 4], ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc