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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1a37
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x5edf2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [0x60918c]
and eax, 1
jne 0x579659
mov ecx, dword [0x60918c]
or ecx, 1
mov dword [0x60918c], ecx
mov dword [ebp - 4], 1
mov ecx, 0x609170
call fcn.00530bf0
push 0x5d7880
call fcn.00589b3a
add esp, 4
mov byte [ebp - 4], 0
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x57992a
mov ecx, 0x609170
call fcn.00579980
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x64]
mov edx, dword [ebp + 0xc]
add ecx, dword [edx + 0x14]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x84]
sub eax, dword [edx + 0x8c]
xor ecx, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov edx, dword [ebp + 0xc]
add eax, dword [edx + 0x10]
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x88]
sub eax, dword [edx + 0x28]
xor ecx, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [ebp + 0xc]
add eax, dword [edx + 0x24]
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
sub eax, dword [edx + 0x78]
xor ecx, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x38]
mov edx, dword [ebp + 0xc]
add eax, dword [edx + 0x60]
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
sub eax, dword [edx + 0x40]
xor ecx, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
mov edx, dword [ebp + 0xc]
add eax, dword [edx + 0x18]
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x2c]
sub eax, dword [edx + 0x7c]
xor ecx, eax
push ecx
call fcn.0058f96f
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x57971c
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 8
jge 0x57992a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 7
ja case.default.0x579739
mov eax, dword [ebp - 0x20]
jmp dword [eax*4 + 0x57995c]
call fcn.0058f981
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x64]
xor edx, edx
mov cl, 0x20
call fcn.0058fa70
mov esi, eax
mov edi, edx
call fcn.0058f981
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x14]
xor ecx, ecx
or esi, eax
or edi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x579739
call fcn.0058f981
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x84]
xor edx, edx
mov cl, 0x20
call fcn.0058fa70
mov esi, eax
mov edi, edx
call fcn.0058f981
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x8c]
xor edx, edx
or esi, eax
or edi, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x579739
call fcn.0058f981
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0xc]
xor edx, edx
mov cl, 0x20
call fcn.0058fa70
mov esi, eax
mov edi, edx
call fcn.0058f981
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x10]
xor ecx, ecx
or esi, eax
or edi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x579739
call fcn.0058f981
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x88]
xor edx, edx
mov cl, 0x20
call fcn.0058fa70
mov esi, eax
mov edi, edx
call fcn.0058f981
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x28]
xor edx, edx
or esi, eax
or edi, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x579739
call fcn.0058f981
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx]
xor edx, edx
mov cl, 0x20
call fcn.0058fa70
mov esi, eax
mov edi, edx
call fcn.0058f981
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x24]
xor ecx, ecx
or esi, eax
or edi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x579739
call fcn.0058f981
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x3c]
xor edx, edx
mov cl, 0x20
call fcn.0058fa70
mov esi, eax
mov edi, edx
call fcn.0058f981
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x78]
xor edx, edx
or esi, eax
or edi, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x579739
call fcn.0058f981
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x38]
xor edx, edx
mov cl, 0x20
call fcn.0058fa70
mov esi, eax
mov edi, edx
call fcn.0058f981
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x60]
xor ecx, ecx
or esi, eax
or edi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x579739
call fcn.0058f981
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 8]
xor edx, edx
mov cl, 0x20
call fcn.0058fa70
mov esi, eax
mov edi, edx
call fcn.0058f981
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x40]
xor edx, edx
or esi, eax
or edi, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
push 0
push 0x24
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0058f9b0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jg 0x579908
jl 0x579902
cmp dword [ebp - 0x14], 0xa
jae 0x579908
mov byte [ebp - 0x21], 0x30
jmp 0x57990c
mov byte [ebp - 0x21], 0x41
movsx eax, byte [ebp - 0x21]
cdq
add eax, dword [ebp - 0x14]
adc edx, dword [ebp - 0x10]
movzx edx, al
push edx
mov ecx, 0x609170
call fcn.00530d90
jmp 0x579713
push 0x609170
mov ecx, dword [ebp + 8]
call fcn.00531710
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret