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

Disassembly:
sub esp, 0x80
push ebx
push esi
push edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0xc], 0
cmp dword [edi + 8], 0xc
jae 0x5cb825
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ebx
mov word [esp + 0x44], 0x103
mov dword [esp + 0x3c], str._LC_LINKER_OPTION_cmdsize_too_small
mov word [esp + 0x38], 0x103
mov dword [esp + 0x30], str.load_command
mov word [esp + 0x50], 0x109
mov dword [esp + 0x18], str.load_command
mov word [esp + 0x20], 0x903
mov dword [esp + 0x28], str._LC_LINKER_OPTION_cmdsize_too_small
mov word [esp + 0x2c], 0x302
call fcn.005d4c60
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x80
ret
push dword [edi]
lea eax, [esp + 0x80]
push dword [esp + 0x98]
push eax
call fcn.005bfef0
mov dl, byte [esp + 0x94]
add esp, 0xc
mov al, dl
not al
test al, 1
jne 0x5cb89d
mov esi, dword [esp + 0x90]
test dl, 1
je 0x5cb867
mov eax, dword [esp + 0x7c]
xor edx, edx
mov dword [esp + 0x7c], edx
mov dword [esi], eax
jmp 0x5cb871
mov edx, dword [esp + 0x7c]
mov dword [esi], 0
xor ecx, ecx
test byte [esp + 0x88], 1
je 0x5cba94
test edx, edx
je 0x5cba94
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x80
ret
mov edi, dword [edi]
xor ebx, ebx
mov esi, dword [esp + 0x80]
add edi, 0xc
add esi, 0xfffffff4
je 0x5cb8f9
cmp byte [edi], 0
jne 0x5cb8c6
test esi, esi
je 0x5cb8f2
inc edi
dec esi
mov eax, esi
cmp byte [edi], 0
je 0x5cb8b5
test eax, eax
je 0x5cb8f2
push esi
push 0
push edi
inc ebx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x5cb9c3
sub eax, edi
cmp eax, 0xffffffff
je 0x5cb9c3
cmp esi, eax
cmovb eax, esi
inc eax
add edi, eax
sub esi, eax
jne 0x5cb8b0
mov dl, byte [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x90]
cmp ecx, ebx
je 0x5cba7b
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push esi
mov word [esp + 0x80], 0x103
mov dword [esp + 0x78], str._does_not_match_number_of_strings
mov word [esp + 0x74], 0x103
mov dword [esp + 0x6c], str._LC_LINKER_OPTION_string_count
mov word [esp + 0x68], 0x103
mov dword [esp + 0x60], str.load_command
mov word [esp + 0x5c], 0x109
mov word [esp + 0x50], 0x109
mov dword [esp + 0x3c], str.load_command
mov word [esp + 0x44], 0x903
mov dword [esp + 0x34], str._LC_LINKER_OPTION_string_count
mov word [esp + 0x38], 0x302
mov dword [esp + 0x28], ecx
mov word [esp + 0x2c], 0x902
mov dword [esp + 0x1c], str._does_not_match_number_of_strings
mov word [esp + 0x20], 0x302
call fcn.005d4c60
add esp, 8
test byte [esp + 0x88], 1
jmp 0x5cba84
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push esi
mov word [esp + 0x50], 0x103
mov dword [esp + 0x48], str._is_not_NULL_terminated
mov word [esp + 0x5c], 0x103
mov dword [esp + 0x54], str._LC_LINKER_OPTION_string_
mov word [esp + 0x68], 0x103
mov dword [esp + 0x60], str.load_command
mov word [esp + 0x74], 0x109
mov word [esp + 0x80], 0x109
mov dword [esp + 0x24], str.load_command
mov word [esp + 0x2c], 0x903
mov dword [esp + 0x1c], str._LC_LINKER_OPTION_string_
mov word [esp + 0x20], 0x302
mov dword [esp + 0x34], ebx
mov word [esp + 0x38], 0x902
mov dword [esp + 0x40], str._is_not_NULL_terminated
mov word [esp + 0x44], 0x302
call fcn.005d4c60
add esp, 8
test byte [esp + 0x88], 1
jmp 0x5cba84
mov dword [esi], 0
test dl, 1
je 0x5cba94
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x5cba94
mov eax, dword [ecx]
push 1
call dword [eax]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x80
ret