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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7507
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4e98d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [0x500ae0]
and eax, 1
jne 0x489459
mov ecx, dword [0x500ae0]
or ecx, 1
mov dword [0x500ae0], ecx
mov dword [ebp - 4], 1
mov ecx, 0x500ac4
call fcn.0043f820
push 0x4ca8d0
call fcn.00499541
add esp, 4
mov byte [ebp - 4], 0
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x489726
mov ecx, 0x500ac4
call fcn.00489780
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp + 0xc]
add ecx, dword [edx + 0x4c]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x78]
sub eax, dword [edx + 0x84]
xor ecx, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x7c]
mov edx, dword [ebp + 0xc]
add eax, dword [edx + 0x14]
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
sub eax, dword [edx + 0x1c]
xor ecx, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x80]
mov edx, dword [ebp + 0xc]
add eax, dword [edx + 0x28]
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
sub eax, dword [edx + 0x68]
xor ecx, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x40]
mov edx, dword [ebp + 0xc]
add eax, dword [edx + 0x2c]
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
sub eax, dword [edx + 0x58]
xor ecx, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov edx, dword [ebp + 0xc]
add eax, dword [edx + 0x88]
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
sub eax, dword [edx + 0x24]
xor ecx, eax
push ecx
call fcn.0049b4c6
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x48951d
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 8
jge 0x489726
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 7
ja case.default.0x48953a
mov eax, dword [ebp - 0x20]
jmp dword [eax*4 + 0x489758]
call fcn.0049b4d3
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x74]
xor edx, edx
mov cl, 0x20
call fcn.0049b5c0
mov esi, eax
mov edi, edx
call fcn.0049b4d3
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x4c]
xor ecx, ecx
or esi, eax
or edi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x48953a
call fcn.0049b4d3
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x78]
xor edx, edx
mov cl, 0x20
call fcn.0049b5c0
mov esi, eax
mov edi, edx
call fcn.0049b4d3
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x84]
xor edx, edx
or esi, eax
or edi, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x48953a
call fcn.0049b4d3
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x7c]
xor edx, edx
mov cl, 0x20
call fcn.0049b5c0
mov esi, eax
mov edi, edx
call fcn.0049b4d3
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.0x48953a
call fcn.0049b4d3
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x20]
xor edx, edx
mov cl, 0x20
call fcn.0049b5c0
mov esi, eax
mov edi, edx
call fcn.0049b4d3
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x1c]
xor edx, edx
or esi, eax
or edi, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x48953a
call fcn.0049b4d3
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x80]
xor edx, edx
mov cl, 0x20
call fcn.0049b5c0
mov esi, eax
mov edi, edx
call fcn.0049b4d3
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x28]
xor ecx, ecx
or esi, eax
or edi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x48953a
call fcn.0049b4d3
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x3c]
xor edx, edx
mov cl, 0x20
call fcn.0049b5c0
mov esi, eax
mov edi, edx
call fcn.0049b4d3
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x68]
xor edx, edx
or esi, eax
or edi, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x48953a
call fcn.0049b4d3
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x40]
xor edx, edx
mov cl, 0x20
call fcn.0049b5c0
mov esi, eax
mov edi, edx
call fcn.0049b4d3
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 0x2c]
xor ecx, ecx
or esi, eax
or edi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
jmp case.default.0x48953a
call fcn.0049b4d3
mov edx, dword [ebp + 0xc]
xor eax, dword [edx + 8]
xor edx, edx
mov cl, 0x20
call fcn.0049b5c0
mov esi, eax
mov edi, edx
call fcn.0049b4d3
mov ecx, dword [ebp + 0xc]
xor eax, dword [ecx + 0x58]
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.0049b500
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jg 0x489707
jl 0x489701
cmp dword [ebp - 0x14], 0xa
jae 0x489707
mov byte [ebp - 0x21], 0x30
jmp 0x48970b
mov byte [ebp - 0x21], 0x41
movsx eax, byte [ebp - 0x21]
cdq
add eax, dword [ebp - 0x14]
adc edx, dword [ebp - 0x10]
push eax
mov ecx, 0x500ac4
call fcn.00433400
jmp 0x489514
push 0x500ac4
mov ecx, dword [ebp + 8]
call fcn.0042c380
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
or edx, 1
mov dword [ebp - 0x1c], edx
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