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

Disassembly:
jmp 0x87a830
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, ecx
mov eax, dword [esi + 0x18]
add eax, 0xfffffffd
cmp eax, 0x1d
ja case.0x87a84f.5
movzx eax, byte [eax + 0x87b520]
jmp dword [eax*4 + 0x87b50c]
cmp byte [edi + 0x164], 0
je 0x87a866
cmp byte [esp + 0x30], 0
je case.0x87a84f.5
mov eax, dword [edi + 0x168]
xor ecx, ecx
mov eax, dword [eax + 8]
cmp dword [eax + 4], 4
setne cl
add ecx, 0xb
jmp 0x87a8a8
movzx ecx, byte [esp + 0x30]
add ecx, 0xb
or ecx, 0x10
jmp 0x87a8a8
mov ecx, 0xc
jmp 0x87a8a8
xor ecx, ecx
mov eax, 0x10
cmp byte [edi + 0x164], cl
cmovne ecx, eax
jmp 0x87a8a8
mov ecx, 0x1b
mov dword [edi + 4], ecx
mov ebp, 1
mov eax, dword [esi + 0x18]
mov ecx, 0x70000001
cmp eax, 0x20
mov ebx, 2
cmove ebp, ecx
cmp dword [esi + 0x24], 0xe
jne 0x87a8d4
cmp eax, 0x20
mov ecx, 3
cmovne ebx, ecx
mov ecx, dword [edi + 0x168]
lea eax, [esp + 0x1c]
push 0
push 0xffffffffffffffff
push eax
push 0
push 3
push 8
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..bss
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x14], eax
lea eax, [esp + 0x24]
push eax
push 0
push 6
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..text
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xc], eax
lea eax, [esp + 0x24]
push eax
push 0
push 3
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..data
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x10], eax
lea eax, [esp + 0x24]
push eax
push 0
push 2
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..rodata
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x18], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x403
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..tdata
mov word [esp + 0x40], 0x101
call fcn.0040d503
push 0
mov dword [edi + 0xd0], eax
lea eax, [esp + 0x20]
mov word [esp + 0x1c], 0x103
mov dword [esp + 0x14], str..tbss
mov word [esp + 0x28], 0x101
push 0xffffffffffffffff
mov ecx, dword [edi + 0x168]
push eax
push 0
push 0x403
push 8
lea eax, [esp + 0x28]
push eax
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xd4], eax
lea eax, [esp + 0x24]
push eax
push 0
push 3
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..data.rel.ro
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xec], eax
lea eax, [esp + 0x24]
push eax
push 4
push 0x12
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x3c], 0x101
push eax
mov word [esp + 0x34], 0x103
mov dword [esp + 0x2c], str..rodata.cst4
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xf0], eax
lea eax, [esp + 0x24]
push eax
push 8
push 0x12
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x3c], 0x101
push eax
mov word [esp + 0x34], 0x103
mov dword [esp + 0x2c], str..rodata.cst8
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xf4], eax
lea eax, [esp + 0x24]
push eax
push 0x10
push 0x12
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x3c], 0x101
push eax
mov word [esp + 0x34], 0x103
mov dword [esp + 0x2c], str..rodata.cst16
call fcn.0040d503
push 0
push 0xffffffffffffffff
mov dword [edi + 0xf8], eax
lea eax, [esp + 0x24]
push eax
push 0x20
push 0x12
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x3c], 0x101
mov word [esp + 0x30], 0x103
mov dword [esp + 0x28], str..rodata.cst32
push eax
mov ecx, dword [edi + 0x168]
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xfc], eax
lea eax, [esp + 0x24]
push eax
push 0
push 2
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..gcc_except_table
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov dword [edi + 0x1c], eax
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov eax, dword [esi + 0x18]
cmp eax, 0xb
je 0x87abbe
cmp eax, 0xc
je 0x87abbe
cmp eax, 0xd
je 0x87abbe
cmp eax, 0xe
je 0x87abbe
xor al, al
jmp 0x87abc0
mov al, 1
mov ecx, dword [edi + 0x168]
test al, al
push 0
push 0xffffffffffffffff
mov eax, 1
mov word [esp + 0x20], 0x103
mov esi, 0x7000001e
mov dword [esp + 0x18], str..debug_abbrev
cmove esi, eax
mov word [esp + 0x2c], 0x101
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
push eax
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x24], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_info
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x28], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_line
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push 1
push 0x30
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x3c], 0x101
push eax
mov word [esp + 0x34], 0x103
mov dword [esp + 0x2c], str..debug_line_str
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x30], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_frame
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov dword [edi + 0x34], eax
mov word [esp + 0x18], 0x103
mov dword [esp + 0x10], str..debug_pubnames
mov ecx, dword [edi + 0x168]
lea eax, [esp + 0x1c]
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x3c], 0x101
push eax
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x58], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_pubtypes
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x38], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_gnu_pubnames
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xb4], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_gnu_pubtypes
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xb8], eax
lea eax, [esp + 0x24]
push eax
push 1
push 0x30
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x3c], 0x101
push eax
mov word [esp + 0x34], 0x103
mov dword [esp + 0x2c], str..debug_str
call fcn.0040d503
push 0
mov dword [edi + 0x40], eax
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
mov word [esp + 0x24], 0x103
mov dword [esp + 0x1c], str..debug_loc
mov word [esp + 0x30], 0x101
push 0
mov ecx, dword [edi + 0x168]
lea eax, [esp + 0x20]
push 0
push esi
push eax
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x44], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_aranges
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x48], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_ranges
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x4c], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_macinfo
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x50], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_macro
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x54], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_names
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x5c], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..apple_names
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x60], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..apple_objc
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x64], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..apple_namespaces
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x68], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..apple_types
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x6c], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_str_offsets
mov word [esp + 0x40], 0x101
call fcn.0040d503
push 0
mov dword [edi + 0x94], eax
mov word [esp + 0x1c], 0x103
mov dword [esp + 0x14], str..debug_addr
mov word [esp + 0x28], 0x101
push 0xffffffffffffffff
mov ecx, dword [edi + 0x168]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
push eax
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x98], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_rnglists
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x9c], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_loclists
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xa0], eax
lea eax, [esp + 0x24]
push eax
push 0
push SysReAllocString
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_info.dwo
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x70], eax
lea eax, [esp + 0x24]
push eax
push 0
push SysReAllocString
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_types.dwo
mov word [esp + 0x40], 0x101
call fcn.0040d503
push 0
push 0xffffffffffffffff
mov dword [edi + 0x74], eax
lea eax, [esp + 0x24]
push eax
push 0
push SysReAllocString
mov word [esp + 0x2c], 0x103
lea eax, [esp + 0x24]
mov dword [esp + 0x24], str..debug_abbrev.dwo
mov word [esp + 0x38], 0x101
push esi
mov ecx, dword [edi + 0x168]
push eax
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x78], eax
lea eax, [esp + 0x24]
push eax
push 1
push 0x80000030
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x3c], 0x101
push eax
mov word [esp + 0x34], 0x103
mov dword [esp + 0x2c], str..debug_str.dwo
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x7c], eax
lea eax, [esp + 0x24]
push eax
push 0
push SysReAllocString
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_line.dwo
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x80], eax
lea eax, [esp + 0x24]
push eax
push 0
push SysReAllocString
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_loc.dwo
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x84], eax
lea eax, [esp + 0x24]
push eax
push 0
push SysReAllocString
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_str_offsets.dwo
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x88], eax
lea eax, [esp + 0x24]
push eax
push 0
push SysReAllocString
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_rnglists.dwo
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov dword [edi + 0xa4], eax
mov word [esp + 0x18], 0x103
mov dword [esp + 0x10], str..debug_macinfo.dwo
mov ecx, dword [edi + 0x168]
lea eax, [esp + 0x1c]
push 0
push 0xffffffffffffffff
push eax
push 0
push SysReAllocString
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x3c], 0x101
push eax
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x8c], eax
lea eax, [esp + 0x24]
push eax
push 0
push SysReAllocString
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_macro.dwo
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0x90], eax
lea eax, [esp + 0x24]
push eax
push 0
push SysReAllocString
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_loclists.dwo
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xa8], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_cu_index
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xac], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..debug_tu_index
mov word [esp + 0x40], 0x101
call fcn.0040d503
push 0
mov dword [edi + 0xb0], eax
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
mov word [esp + 0x24], 0x103
mov dword [esp + 0x1c], str..llvm_stackmaps
mov word [esp + 0x30], 0x101
push 0
mov ecx, dword [edi + 0x168]
lea eax, [esp + 0x20]
push 2
push 1
push eax
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xd8], eax
lea eax, [esp + 0x24]
push eax
push 0
push 2
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..llvm_faultmaps
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xdc], eax
lea eax, [esp + 0x24]
push eax
push 0
push ebx
push ebp
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..eh_frame
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov ecx, dword [edi + 0x168]
push 0
push 0xffffffffffffffff
mov dword [edi + 0xe4], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 1
lea eax, [esp + 0x28]
mov word [esp + 0x30], 0x103
push eax
mov dword [esp + 0x2c], str..stack_sizes
mov word [esp + 0x40], 0x101
call fcn.0040d503
mov dword [edi + 0xe8], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8