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

Disassembly:
mov eax, 0x100cc5d0
call fcn.100bd27c
sub esp, 0xa0
push ebx
push edi
mov edi, ecx
call fcn.1005b1aa
xor ebx, ebx
inc ebx
cmp eax, ebx
je 0x1005a05b
mov eax, ebx
jmp 0x1005a5c5
mov ecx, edi
call fcn.1005b1aa
cmp eax, 0x28
jne 0x1005a054
mov ecx, edi
call fcn.1005b1aa
cmp eax, 5
jne 0x1005a054
push ebp
push esi
mov ecx, edi
mov byte [edi + 0x39], bl
call fcn.1005b1aa
lea eax, [esp + 0xa0]
mov ecx, edi
push eax
call fcn.1005b0ad
mov ebp, dword [esp + 0xc8]
xor ebx, ebx
mov esi, ebx
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
mov dword [esp + esi + 0x78], eax
mov dword [esp + esi + 0x7c], edx
call fcn.1005b1c0
mov ecx, eax
mov dword [esp + esi + 0x50], eax
add ecx, dword [esp + esi + 0x78]
mov eax, edx
mov dword [esp + esi + 0x54], edx
adc eax, dword [esp + esi + 0x7c]
push eax
push ecx
mov ecx, ebp
call fcn.1005b295
add esi, 8
cmp esi, 0x28
jb 0x1005a099
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1aa
cmp eax, 0x4c4f4143
jne 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
cmp eax, 2
jne 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
mov esi, eax
cmp esi, 0x2c
jb 0x1005a286
mov ecx, edi
call fcn.1005b130
mov ecx, edi
call fcn.1005b130
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
cmp esi, 0x2c
jne 0x1005a20f
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov byte [ebp + 0x29], 1
jmp 0x1005a286
cmp esi, 0x50
jne 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
cmp eax, 0x46535449
jne 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
cmp eax, 4
jne 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
cmp eax, 0x20
jne 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
test eax, eax
je 0x1005a265
cmp eax, 1
jne 0x1005a5d9
mov ecx, edi
call fcn.1005b1c0
add eax, dword [ebp]
mov ecx, edi
mov dword [ebp + 8], eax
adc edx, dword [ebp + 4]
mov dword [ebp + 0xc], edx
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
push dword [esp + 0x54]
mov ecx, dword [ebp]
add ecx, dword [esp + 0x7c]
push dword [esp + 0x54]
mov eax, dword [ebp + 4]
adc eax, dword [esp + 0x84]
push eax
push ecx
push dword [esp + 0xd4]
mov ecx, edi
call fcn.1005af04
cmp dword [esp + 0x54], ebx
ja 0x1005a2c6
jb 0x1005a5d9
cmp dword [esp + 0x50], 0x18
jb 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
cmp eax, 0x1fe
jne 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1c0
push edx
push eax
mov ecx, ebp
call fcn.1005b295
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
push dword [esp + 0x5c]
mov ecx, dword [ebp]
add ecx, dword [esp + 0x84]
push dword [esp + 0x5c]
mov eax, dword [ebp + 4]
adc eax, dword [esp + 0x8c]
push eax
push ecx
push dword [esp + 0xd4]
mov ecx, edi
call fcn.1005af04
mov ecx, edi
call fcn.1005b1aa
cmp eax, 0x4d434649
jne 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
cmp eax, 1
jne 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, 0x40
jb 0x1005a5d9
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.1005b1aa
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x28], ebx
jbe 0x1005a5b4
mov eax, dword [edi + 8]
sub eax, dword [edi + 0x10]
cdq
add eax, dword [edi + 0x28]
mov ecx, edx
adc ecx, ebx
add eax, dword [edi + 0x18]
mov dword [esp + 0x38], eax
adc ecx, dword [edi + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
cmp eax, 0x4c4c4f41
jne 0x1005a598
call fcn.1005b1aa
mov dword [esp + 0x18], eax
cmp eax, esi
ja 0x1005a5d9
cmp eax, 2
jb 0x1005a5d9
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1c0
mov ecx, edi
call fcn.1005b1aa
mov ecx, edi
call fcn.1005b1aa
mov ecx, dword [esp + 0x20]
mov esi, ebx
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ecx
mov eax, dword [edi + 8]
sub eax, dword [edi + 0x10]
cdq
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x40]
add eax, dword [edi + 0x28]
adc edx, ebx
add eax, dword [edi + 0x18]
adc edx, dword [edi + 0x1c]
cmp edx, ebx
ja 0x1005a5d9
jb 0x1005a448
cmp eax, ecx
ja 0x1005a5d9
cmp eax, ecx
jne 0x1005a454
cmp edx, ebx
je 0x1005a557
cmp byte [ebp + 0x29], 0
mov ecx, edi
je 0x1005a53f
call fcn.1005b130
movzx esi, ax
test si, si
je 0x1005a5d9
lea ecx, [esp + 0x44]
call fcn.10001ed2
lea eax, [esp + 0x44]
mov dword [esp + 0xb8], ebx
push eax
push esi
mov ecx, edi
call fcn.1005b1da
lea ecx, [esp + 0x2c]
call fcn.10001d31
lea edx, [esp + 0x2c]
mov byte [esp + 0xb8], 1
lea ecx, [esp + 0x44]
call fcn.10003e1a
mov ecx, edi
call fcn.1005ae94
lea ecx, [esp + 0x2c]
mov bl, al
call fcn.1000240a
lea edx, [esp + 0x2c]
mov cl, bl
call fcn.1005ae24
lea ecx, [esp + 0x2c]
call fcn.1000240a
mov ecx, edi
call fcn.1005b049
mov esi, eax
mov ebx, edx
mov ecx, esi
or ecx, ebx
je 0x1005a501
add esi, 0xffffffff
mov ecx, edi
adc ebx, 0xffffffff
call fcn.1005ae94
lea edx, [esp + 0x2c]
mov cl, al
call fcn.1005ae24
mov eax, esi
or eax, ebx
jne 0x1005a4e3
lea eax, [esp + 0x2c]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10002266
push 0x100d6e20
lea ecx, [ebp + 0x1c]
call fcn.100022be
push dword [esp + 0x2c]
call fcn.1000366d
push dword [esp + 0x48]
or dword [esp + 0xc0], 0xffffffff
call fcn.1000366d
mov esi, dword [esp + 0x2c]
xor ebx, ebx
pop ecx
pop ecx
jmp 0x1005a549
push ebp
call fcn.1005afad
test eax, eax
jne 0x1005a5c3
mov ecx, dword [esp + 0x3c]
inc esi
mov dword [esp + 0x24], esi
jmp 0x1005a41c
mov eax, dword [esp + 0x18]
mov ecx, edi
add eax, 0xfffffffe
push eax
call fcn.1005b259
mov ecx, edi
call fcn.1005b130
movzx eax, ax
cmp eax, esi
jne 0x1005a5d9
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
ja 0x1005a5d9
mov eax, dword [esp + 0x10]
jb 0x1005a586
cmp esi, eax
ja 0x1005a5d9
sub eax, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
sbb ecx, ebx
mov dword [esp + 0x14], ecx
jmp 0x1005a5a1
lea eax, [esi - 4]
push eax
call fcn.1005b259
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x28]
jb 0x1005a396
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
je 0x1005a5c1
xor ebx, ebx
inc ebx
mov eax, ebx
pop esi
pop ebp
mov ecx, dword [esp + 0xa8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
xor eax, eax
inc eax
jmp 0x1005a5c3