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

Disassembly:
sub esp, 0x8c
push ebx
push esi
mov esi, dword [esp + 0x98]
push edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x94], 0
cmp dword [edi + 8], 0x18
jae 0x5c9d15
mov eax, dword [esp + 0xac]
mov word [esp + 0x50], 0x103
mov dword [esp + 0x48], str._cmdsize_too_small
mov byte [esp + 0x39], 1
cmp byte [eax], 0
je 0x5c9c04
mov dword [esp + 0x30], eax
mov dl, 3
jmp 0x5c9c0a
mov eax, dword [esp + 0x30]
mov dl, 1
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x38], dl
mov word [esp + 0x5c], 0x103
mov dword [esp + 0x54], 0x925080
mov word [esp + 0x68], 0x103
mov dword [esp + 0x60], str.load_command
mov word [esp + 0x74], 0x109
mov dword [esp + 0x3c], str.load_command
mov word [esp + 0x44], 0x903
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x925080
mov word [esp + 0x20], 0x302
test dl, dl
je 0x5c9ced
cmp dl, 1
jne 0x5c9c91
movq xmm0, qword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov bl, al
movq qword [esp + 0xc], xmm0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x15]
jmp 0x5c9ca7
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], eax
mov bl, 2
mov dword [esp + 0xc], ecx
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], dl
lea eax, [esp + 0xc]
mov dh, 2
cmp dl, 1
jne 0x5c9cbe
test bl, bl
je 0x5c9cbe
cmp bl, dl
je 0x5c9cbe
mov eax, ecx
mov dh, bl
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x30], str._cmdsize_too_small
mov byte [esp + 0x34], dh
mov byte [esp + 0x35], 3
call fcn.005d4c60
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
lea eax, [esp + 0x24]
mov word [esp + 0x14], 0x100
push eax
push esi
mov word [esp + 0x34], 0x100
call fcn.005d4c60
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
push dword [edi]
lea eax, [esp + 0x7c]
push dword [esp + 0xa4]
push eax
call fcn.005bfa80
mov bl, byte [esp + 0x9c]
add esp, 0xc
mov al, bl
not al
test al, 1
jne 0x5c9d7e
test bl, 1
je 0x5c9d4d
mov eax, dword [esp + 0x78]
xor edx, edx
mov dword [esp + 0x78], edx
mov dword [esi], eax
jmp 0x5c9d57
mov edx, dword [esp + 0x78]
mov dword [esi], 0
xor ecx, ecx
test bl, 1
je 0x5ca0ea
test edx, edx
je 0x5ca0ea
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
mov eax, dword [esp + 0x80]
cmp eax, 0x18
jae 0x5c9eac
mov eax, dword [esp + 0xac]
mov word [esp + 0x74], 0x103
mov dword [esp + 0x6c], str._name.offset_field_too_small__not_past_the_end_of_the_dylib_command_struct
mov byte [esp + 0x45], 1
cmp byte [eax], 0
je 0x5c9db6
mov dword [esp + 0x3c], eax
mov dl, 3
jmp 0x5c9dbc
mov eax, dword [esp + 0x3c]
mov dl, 1
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], dl
mov word [esp + 0x68], 0x103
mov dword [esp + 0x60], 0x925080
mov word [esp + 0x5c], 0x103
mov dword [esp + 0x54], str.load_command
mov word [esp + 0x50], 0x109
mov dword [esp + 0x30], str.load_command
mov word [esp + 0x38], 0x903
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0x925080
mov word [esp + 0x2c], 0x302
test dl, dl
je 0x5c9e83
cmp dl, 1
jne 0x5c9e3f
movq xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov bl, al
movq qword [esp + 0xc], xmm0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x15]
jmp 0x5c9e55
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
mov bl, 2
mov dword [esp + 0xc], ecx
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], dl
lea eax, [esp + 0xc]
mov dh, 2
cmp dl, 1
jne 0x5c9e6c
test bl, bl
je 0x5c9e6c
cmp bl, dl
je 0x5c9e6c
mov eax, ecx
mov dh, bl
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], str._name.offset_field_too_small__not_past_the_end_of_the_dylib_command_struct
mov byte [esp + 0x20], dh
mov byte [esp + 0x21], 3
jmp 0x5c9e91
mov word [esp + 0x14], 0x100
mov word [esp + 0x20], 0x100
lea eax, [esp + 0x18]
push eax
push esi
call fcn.005d4c60
add esp, 8
test byte [esp + 0x90], 1
jmp 0x5ca0da
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
jb 0x5c9fb7
push dword [esp + 0xac]
lea ecx, [esp + 0x34]
mov word [esp + 0x78], 0x103
mov dword [esp + 0x70], str._name.offset_field_extends_past_the_end_of_the_load_command
call fcn.00415f82
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x38]
mov word [esp + 0x68], 0x103
mov dword [esp + 0x60], 0x925080
mov word [esp + 0x5c], 0x103
mov dword [esp + 0x54], str.load_command
mov word [esp + 0x50], 0x109
mov dword [esp + 0x3c], str.load_command
mov word [esp + 0x44], 0x903
mov dword [esp + 0x28], 0x925080
mov word [esp + 0x2c], 0x302
test al, al
je 0x5c9e83
cmp al, 1
jne 0x5c9f5d
mov eax, dword [esp + 0x2c]
mov dl, al
movq xmm0, qword [esp + 0x24]
mov dword [esp + 0x14], eax
mov bl, byte [esp + 0x15]
movq qword [esp + 0xc], xmm0
mov eax, dword [esp + 0xc]
jmp 0x5c9f86
cmp byte [esp + 0x39], 1
lea ecx, [esp + 0x30]
mov bl, 2
jne 0x5c9f70
mov ecx, dword [esp + 0x30]
mov bl, al
lea eax, [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dl, 2
mov dword [esp + 0xc], eax
mov byte [esp + 0x14], dl
mov byte [esp + 0x15], bl
lea ecx, [esp + 0xc]
mov dh, 2
cmp bl, 1
jne 0x5c9f9d
test dl, dl
je 0x5c9f9d
cmp dl, bl
je 0x5c9f9d
mov ecx, eax
mov dh, dl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], str._name.offset_field_extends_past_the_end_of_the_load_command
mov byte [esp + 0x20], dh
mov byte [esp + 0x21], 3
jmp 0x5c9e91
mov edx, dword [edi]
nop dword [eax]
cmp byte [eax + edx], 0
je 0x5c9fcd
inc eax
cmp eax, ecx
jb 0x5c9fc0
jmp 0x5c9fd5
cmp eax, ecx
jb 0x5ca0d1
mov eax, dword [esp + 0xac]
mov word [esp + 0x74], 0x103
mov dword [esp + 0x6c], str._library_name_extends_past_the_end_of_the_load_command
mov byte [esp + 0x45], 1
cmp byte [eax], 0
je 0x5c9ffd
mov dword [esp + 0x3c], eax
mov dl, 3
jmp 0x5ca003
mov eax, dword [esp + 0x3c]
mov dl, 1
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], dl
mov word [esp + 0x68], 0x103
mov dword [esp + 0x60], 0x925080
mov word [esp + 0x5c], 0x103
mov dword [esp + 0x54], str.load_command
mov word [esp + 0x50], 0x109
mov dword [esp + 0x30], str.load_command
mov word [esp + 0x38], 0x903
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0x925080
mov word [esp + 0x2c], 0x302
test dl, dl
je 0x5c9e83
cmp dl, 1
jne 0x5ca08a
movq xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov bl, al
movq qword [esp + 0xc], xmm0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x15]
jmp 0x5ca0a0
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
mov bl, 2
mov dword [esp + 0xc], ecx
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], dl
lea eax, [esp + 0xc]
mov dh, 2
cmp dl, 1
jne 0x5ca0b7
test bl, bl
je 0x5ca0b7
cmp bl, dl
je 0x5ca0b7
mov eax, ecx
mov dh, bl
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], str._library_name_extends_past_the_end_of_the_load_command
mov byte [esp + 0x20], dh
mov byte [esp + 0x21], 3
jmp 0x5c9e91
mov dword [esi], 0
test bl, 1
je 0x5ca0ea
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x5ca0ea
mov eax, dword [ecx]
push 1
call dword [eax]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x8c
ret