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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005e52a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov byte [esp + 0x5c], dl
push ebx
mov ebx, ecx
mov dword [esp + 0xa8], ebx
push esi
push edi
test dl, dl
je 0x10005ae6
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x14], 8
jb 0x10005ac4
mov edx, dword [ecx]
jmp 0x10005ac6
mov edx, ecx
mov eax, dword [ebp + 0x10]
movzx esi, word [eax]
mov eax, dword [ecx + 0x10]
cmp word [edx + eax*2 - 2], si
je 0x10006284
push esi
push ecx
call fcn.1000798d
jmp 0x10006284
mov dword [esp + 0x2c], 0x2570
cmp dword [esp + 0x2c], 0xc01
push 0
pop edx
jge 0x10005f6e
lea eax, [esp + 0x10]
push eax
push 0x100671e4
call fcn.10045abb
pop ecx
pop ecx
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
push dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x38]
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.10007f76
mov dword [esp + 0x114], ebx
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x14]
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.10007fb8
mov byte [esp + 0x114], 2
cmp dword [esp + 0x30], ebx
je 0x10005b82
push dword [esp + 0x30]
call fcn.100451d4
pop ecx
or dword [esp + 0x4c], 0xffffffff
mov edi, ebx
or dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x14], ebx
test eax, eax
jle 0x10005bdd
xor esi, esi
test eax, eax
jle 0x10005bd5
mov ecx, dword [ebx]
lea eax, [ecx + esi*8]
push eax
push str._lld
call fcn.10045abb
pop ecx
pop ecx
mov ecx, dword [ebx]
mov eax, dword [ecx + esi*8]
or eax, dword [ecx + esi*8 + 4]
jne 0x10005bcc
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x10005ba9
inc edi
add ebx, 0xc
cmp edi, eax
jl 0x10005ba1
lea ecx, [esp + 0x60]
xor ebx, ebx
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x90], ebx
push eax
lea ecx, [esp + 0x94]
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call fcn.10007f76
mov byte [esp + 0x114], 3
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x88], ebx
lea ecx, [esp + 0x88]
movlpd qword [esp + 0x80], xmm0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call fcn.10007f76
mov edi, dword [esp + 0x10]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov eax, ebx
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0xc], eax
test edi, edi
jle 0x10005d7e
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x8c]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x2c], ecx
xor esi, esi
test edi, edi
jle 0x10005d65
mov ecx, dword [edx]
mov edi, dword [esp + 0x80]
mov eax, dword [ecx + esi*8]
add dword [ebx], eax
mov eax, dword [ecx + esi*8 + 4]
adc dword [ebx + 4], eax
mov ecx, dword [edx]
mov eax, dword [ecx + esi*8]
add dword [edi + esi*8], eax
mov eax, dword [ecx + esi*8 + 4]
adc dword [edi + esi*8 + 4], eax
mov edi, dword [esp + 0xc]
cmp edi, esi
jne 0x10005cdd
xor ecx, ecx
inc ecx
and dword [esp + 0x30], 0
jmp 0x10005cf2
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [edx]
push dword [esp + 0x30]
push ecx
mov edx, dword [eax + esi*8]
mov eax, dword [eax + esi*8 + 4]
push eax
push edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x70], eax
call fcn.10049ba0
add dword [esp + 0x5c], eax
lea ecx, [esi + edi]
mov edi, dword [esp + 0x10]
adc dword [esp + 0x78], edx
lea eax, [edi - 1]
cmp ecx, eax
jne 0x10005d2c
xor eax, eax
inc eax
xor ecx, ecx
jmp 0x10005d3d
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
push eax
push dword [esp + 0x68]
push dword [esp + 0x24]
call fcn.10049ba0
add dword [esp + 0x2c], eax
adc dword [esp + 0x24], edx
inc esi
mov edx, dword [esp + 0x14]
cmp esi, edi
jl 0x10005ca6
mov eax, dword [esp + 0xc]
inc eax
add edx, 0xc
add ebx, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
cmp eax, edi
jl 0x10005c9c
jmp 0x10005d9e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x4c], 0
mov bl, 1
jne 0x10005db1
cmp edi, 1
jle 0x10005db1
xor eax, eax
inc eax
jmp 0x10005db3
xor eax, eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + eax*8]
mov esi, edx
mov eax, dword [ecx + eax*8 + 4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
sub esi, dword [ecx + edx*8]
sbb eax, dword [ecx + edx*8 + 4]
mov dword [esp + 0xc], eax
cmp edx, dword [esp + 0x44]
jne 0x10005de7
xor ecx, ecx
inc ecx
xor edx, edx
jmp 0x10005df8
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push esi
push edx
push ecx
call fcn.10049ba0
add eax, dword [esp + 0x5c]
mov ecx, edx
adc ecx, dword [esp + 0x78]
cmp eax, dword [esp + 0x14]
jne 0x10005e17
cmp ecx, dword [esp + 0x30]
je 0x10005e19
xor bl, bl
mov ecx, dword [esp + 0x44]
lea eax, [edi - 1]
add ecx, dword [esp + 0x4c]
cmp ecx, eax
jne 0x10005e2f
xor eax, eax
inc eax
xor ecx, ecx
jmp 0x10005e40
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push dword [esp + 0xc]
push esi
push ecx
push eax
call fcn.10049ba0
add eax, dword [esp + 0x2c]
adc edx, dword [esp + 0x24]
cmp eax, dword [esp + 0x14]
jne 0x10005e60
cmp edx, dword [esp + 0x30]
je 0x10005e62
xor bl, bl
xor eax, eax
test edi, edi
jle 0x10005e95
mov edx, dword [esp + 0x8c]
test bl, bl
je 0x10005e95
cmp eax, dword [esp + 0x4c]
je 0x10005e8c
mov ecx, dword [esp + 0x14]
cmp dword [edx + eax*8], ecx
mov ecx, dword [esp + 0x30]
jne 0x10005e93
cmp dword [edx + eax*8 + 4], ecx
jne 0x10005e93
inc eax
cmp eax, edi
jl 0x10005e6f
jmp 0x10005e95
xor bl, bl
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x44]
mov eax, dword [ecx + edx*8]
mov edx, dword [ecx + edx*8 + 4]
add eax, esi
mov ecx, dword [esp + 0xc]
adc edx, dword [esp + 0xc]
cmp eax, dword [esp + 0x14]
jne 0x10005ebd
cmp edx, dword [esp + 0x30]
je 0x10005ebf
xor bl, bl
xor eax, eax
test edi, edi
jle 0x10005f05
mov edx, dword [esp + 0x30]
test bl, bl
je 0x10005f05
cmp eax, dword [esp + 0x44]
je 0x10005efc
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x14]
cmp dword [ecx + eax*8], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
jne 0x10005f03
mov edi, dword [esp + 0x80]
cmp dword [edi + eax*8 + 4], edx
mov edi, dword [esp + 0x10]
jne 0x10005f03
inc eax
cmp eax, edi
jl 0x10005ec9
jmp 0x10005f05
xor bl, bl
cmp edi, 1
jne 0x10005f11
xor esi, esi
inc esi
xor ecx, ecx
jmp 0x10005f1d
test ecx, ecx
jg 0x10005f1d
jl 0x10005f1b
test esi, esi
jne 0x10005f1d
xor bl, bl
test bl, bl
jne 0x10005f26
or esi, 0xffffffff
or ecx, esi
push ecx
push esi
push str._lld_n
call fcn.1004603d
mov eax, dword [esp + 0x8c]
add esp, 0xc
test eax, eax
je 0x10005f47
push eax
call fcn.100451d4
pop ecx
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x10005f59
push eax
call fcn.100451d4
pop ecx
lea ecx, [esp + 0x98]
call fcn.1000805a
mov ebx, dword [esp + 0xb0]
xor edx, edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], edx
mov dword [esp + 0x114], 4
cmp dword [ebx + 0x10], edx
je 0x10006268
push 0x2e
pop eax
push 2
mov ecx, edx
mov byte [esp + 0x2c], dl
mov word [esp + 0x2d], 0x1c5
mov byte [esp + 0x2f], 0x84
mov word [esp + 0x4c], ax
pop esi
mov dword [esp + 0xc], ecx
cmp esi, 2
jne 0x10005fc5
push esi
pop ecx
mov dword [esp + 0xc], ecx
jmp 0x1000602b
movzx edx, byte [esp + esi + 0x29]
mov eax, esi
sub eax, ecx
push 0
push 0x2ec0
push 0x2613
movzx eax, byte [esp + eax + 0x32]
push 0x4f42
push 0x63f0
push 1
movzx ecx, word [esp + eax*2 + 0x60]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [esp + esi + 0x40]
add ecx, edx
mov edx, 0x7f52
mov word [esp + eax*2 + 0x60], cx
lea eax, [esp + 0x24]
push eax
push 0x7a04
push 0x544c
push 1
mov ecx, 0x662
call fcn.10004d97
mov ecx, dword [esp + 0x34]
add esp, 0x28
add esi, 2
cmp esi, 4
jb 0x10005fb8
xor eax, eax
mov dword [esp + 0xc8], 7
and dword [esp + 0xc4], eax
lea ecx, [esp + 0xb4]
mov word [esp + 0x4a], ax
mov word [esp + 0xb4], ax
lea eax, [esp + 0x48]
push eax
call fcn.10007a99
lea eax, [esp + 0xb4]
mov byte [esp + 0x114], 5
push eax
mov edx, ebx
lea ecx, [esp + 0x70]
call fcn.10002a46
pop ecx
push 0
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x11c], 7
call fcn.10007bf6
mov edi, dword [esp + 0x70]
mov eax, edi
mov esi, dword [esp + 0x6c]
sub eax, esi
push 0x18
cdq
pop ecx
idiv ecx
and dword [esp + 0x48], 0
test eax, eax
jne 0x10006253
push 0x2d
pop eax
push 2
xor ecx, ecx
mov dword [esp + 0x54], 0x4b031100
mov word [esp + 0x58], 0x3b81
mov word [esp + 0x5c], ax
pop esi
mov dword [esp + 0x24], ecx
cmp esi, 2
jne 0x100060e8
push 4
pop ecx
push ecx
mov dword [esp + 0x28], ecx
pop esi
jmp 0x1000612b
movzx edx, byte [esp + esi + 0x51]
mov eax, esi
sub eax, ecx
movzx eax, byte [esp + eax + 0x4e]
movzx ecx, word [esp + eax*2 + 0x58]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [esp + esi + 0x50]
add ecx, edx
mov edx, 0x3d6d
mov word [esp + eax*2 + 0x58], cx
lea eax, [esp + 0x24]
push eax
push 0
mov ecx, 0x642b
call fcn.10006351
pop ecx
pop ecx
mov ecx, dword [esp + 0x24]
add esi, 2
cmp esi, 6
jb 0x100060d8
xor eax, eax
mov dword [esp + 0xe0], 7
and dword [esp + 0xdc], eax
lea ecx, [esp + 0xcc]
mov word [esp + 0x5a], ax
mov word [esp + 0xcc], ax
lea eax, [esp + 0x58]
push eax
call fcn.10007a99
lea eax, [esp + 0xcc]
mov byte [esp + 0x114], 8
push eax
mov edx, ebx
lea ecx, [esp + 0xe8]
call fcn.10002a46
pop ecx
mov esi, eax
lea eax, [esp + 0x6c]
cmp eax, esi
je 0x100061b4
mov ecx, eax
call fcn.10007d28
mov ecx, dword [esi]
mov dword [esp + 0x6c], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x74], eax
and dword [esi], 0
and dword [esi + 4], 0
and dword [esi + 8], 0
lea ecx, [esp + 0xe4]
call fcn.10007d28
push 0
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x11c], 7
call fcn.10007bf6
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
jmp 0x10006253
push esi
lea ecx, [esp + 0xf4]
call fcn.10006f5b
push 1
lea eax, [esp + 0xf4]
mov byte [esp + 0x118], 0xa
push eax
push 0x80d
push 0x110d
push 0x5850
push 1
push 0x41c4
push 0x2239
lea eax, [esp + 0xc4]
mov edx, 0x1d21
push eax
push 1
mov ecx, 0x7f91
call fcn.10004d97
add esp, 0x28
mov byte [esp + 0x114], 7
lea ecx, [esp + 0xf0]
push 0
push 1
call fcn.10007bf6
add esi, 0x18
cmp esi, edi
jne 0x100061e2
lea ecx, [esp + 0x6c]
mov byte [esp + 0x114], 4
call fcn.10007d28
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xa4]
push eax
call fcn.10007482
lea ecx, [esp + 0xa4]
call fcn.10007e01
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret