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

Disassembly:
jmp 0x5098b0
sub esp, 0x70
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
mov ebx, dword [esp + 0x78]
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x84]
push edi
mov edi, dword [esp + 0xa4]
lea ebp, [esi + 0x10]
push 0
push edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], 0xffffffff
call fcn.00406465
mov byte [esp + 0x1b], al
movzx eax, al
mov dword [esp + 0x10], eax
cmp eax, 7
ja case.default.0x50990d
jmp dword [eax*4 + 0x509e24]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov al, byte [esp + 0x1b]
mov byte [esi + 8], al
mov dword [ebx], 0
jmp 0x509e0b
mov ecx, dword [edi]
mov eax, dword [edi + 4]
add ecx, 0xffffffff
push 0
adc eax, 0xffffffff
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0x90]
mov dword [esp + 0x1c], eax
call fcn.0040b087
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x1c], edx
cmp eax, dword [edi + 4]
ja 0x509930
jb 0x509983
mov eax, dword [esp + 0x9c]
cmp eax, dword [edi]
jae 0x509930
lea eax, [esp + 0x10]
push eax
push str.read_past_end_of_table_when_reading_DW_RLE_base_addressx_encoding_at_offset_0x_llx
sub esp, 8
mov esi, esp
call fcn.00415dfc
push ebx
mov dword [esi], 0x16
mov dword [esi + 4], eax
call fcn.004123aa
add esp, 0x14
jmp 0x509e0b
mov ecx, dword [edi]
mov eax, dword [edi + 4]
add ecx, 0xffffffff
mov dword [esp + 0x10], ecx
adc eax, 0xffffffff
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push str.unsupported_rnglists_encoding_DW_RLE_startx_endx_at_offset_0x_llx
sub esp, 8
mov esi, esp
call fcn.00415dfc
push ebx
mov dword [esi], 0x81
mov dword [esi + 4], eax
call fcn.004123aa
add esp, 0x14
jmp 0x509e0b
mov ecx, dword [edi]
mov eax, dword [edi + 4]
add ecx, 0xffffffff
push 0
adc eax, 0xffffffff
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0x90]
mov dword [esp + 0x1c], eax
call fcn.0040b087
push 0
push edi
lea ecx, [esp + 0x90]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
call fcn.0040b087
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x24], edx
cmp eax, dword [edi + 4]
ja 0x509930
jb 0x509a4a
mov eax, dword [esp + 0x9c]
cmp eax, dword [edi]
jae 0x509930
lea eax, [esp + 0x10]
push eax
push str.read_past_end_of_table_when_reading_DW_RLE_startx_length_encoding_at_offset_0x_llx
sub esp, 8
mov esi, esp
call fcn.00415dfc
push ebx
mov dword [esi], 0x16
mov dword [esi + 4], eax
call fcn.004123aa
add esp, 0x14
jmp 0x509e0b
mov ecx, dword [edi]
mov eax, dword [edi + 4]
add ecx, 0xffffffff
push 0
adc eax, 0xffffffff
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0x90]
mov dword [esp + 0x1c], eax
call fcn.0040b087
push 0
push edi
lea ecx, [esp + 0x90]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
call fcn.0040b087
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x24], edx
cmp eax, dword [edi + 4]
ja 0x509930
jb 0x509ad3
mov eax, dword [esp + 0x9c]
cmp eax, dword [edi]
jae 0x509930
lea eax, [esp + 0x10]
push eax
push str.read_past_end_of_table_when_reading_DW_RLE_offset_pair_encoding_at_offset_0x_llx
sub esp, 8
mov esi, esp
call fcn.00415dfc
push ebx
mov dword [esi], 0x16
mov dword [esi + 4], eax
call fcn.004123aa
add esp, 0x14
jmp 0x509e0b
movzx ecx, byte [esp + 0x91]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x9c]
sub ecx, dword [edi]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xa0]
sbb ecx, dword [edi + 4]
cdq
cmp ecx, edx
ja 0x509b70
jb 0x509b32
cmp dword [esp + 0x1c], eax
jae 0x509b70
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add eax, 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
adc ecx, 0xffffffff
push str.insufficient_space_remaining_in_table_for_DW_RLE_base_address_encoding_at_offset_0x_llx
sub esp, 8
mov dword [esp + 0x24], ecx
mov esi, esp
call fcn.00415dfc
push ebx
mov dword [esi], 0x16
mov dword [esi + 4], eax
call fcn.004123aa
add esp, 0x14
jmp 0x509e0b
push 0
push ebp
push edi
push dword [esp + 0x34]
lea ecx, [esp + 0x98]
call fcn.0041562c
mov dword [esi + 0x18], eax
mov al, byte [esp + 0x1b]
mov dword [esi + 0x1c], edx
mov byte [esi + 8], al
mov dword [ebx], 0
jmp 0x509e0b
movzx eax, byte [esp + 0x91]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x1c], eax
add eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x9c]
sub eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa0]
sbb eax, edx
test eax, eax
ja 0x509c12
jb 0x509bd9
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x20], eax
jae 0x509c12
lea eax, [esp + 0x10]
add ecx, 0xffffffff
push eax
adc edx, 0xffffffff
mov dword [esp + 0x14], ecx
push str.insufficient_space_remaining_in_table_for_DW_RLE_start_end_encoding_at_offset_0x_llx
sub esp, 8
mov dword [esp + 0x24], edx
mov esi, esp
call fcn.00415dfc
push ebx
mov dword [esi], 0x16
mov dword [esi + 4], eax
call fcn.004123aa
add esp, 0x14
jmp 0x509e0b
push 0
push ebp
push edi
push dword [esp + 0x28]
lea ecx, [esp + 0x98]
call fcn.0041562c
push 0
push 0
mov dword [esi + 0x18], eax
lea ecx, [esp + 0x90]
movzx eax, byte [esp + 0x99]
push edi
push eax
mov dword [esi + 0x1c], edx
call fcn.0041562c
mov dword [esi + 0x20], eax
mov al, byte [esp + 0x1b]
mov dword [esi + 0x24], edx
mov byte [esi + 8], al
mov dword [ebx], 0
jmp 0x509e0b
mov ecx, dword [edi]
mov eax, dword [edi + 4]
add ecx, 0xffffffff
push 0
adc eax, 0xffffffff
mov dword [esp + 0x14], ecx
push ebp
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x90]
movzx eax, byte [esp + 0x99]
push edi
push eax
call fcn.0041562c
push 0
push edi
lea ecx, [esp + 0x90]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
call fcn.0040b087
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x24], edx
cmp eax, dword [edi + 4]
ja 0x509930
jb 0x509cc6
mov eax, dword [esp + 0x9c]
cmp eax, dword [edi]
jae 0x509930
lea eax, [esp + 0x10]
push eax
push str.read_past_end_of_table_when_reading_DW_RLE_start_length_encoding_at_offset_0x_llx
sub esp, 8
mov esi, esp
call fcn.00415dfc
push ebx
mov dword [esi], 0x16
mov dword [esi + 4], eax
call fcn.004123aa
add esp, 0x14
jmp 0x509e0b
mov esi, dword [edi]
mov edi, dword [edi + 4]
call fcn.00415dfc
push 0
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x30]
push 0
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], 0x81
push 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x924694
mov dword [esp + 0x54], eax
call fcn.0040826f
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
add esi, 0xffffffff
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], str.unknown_rnglists_encoding_0x_x_at_offset_0x_llx
adc edi, 0xffffffff
mov dword [esp + 0x4c], 0x930d44
push eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
call fcn.0040c69e
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x30]
je 0x509db8
lea ecx, [esp + 0x2c]
call fcn.004067b2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x4c]
push ebx
call fcn.00408deb
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.0040934a
mov edx, dword [esp + 0x78]
cmp edx, 0x10
jb 0x509e0b
mov ecx, dword [esp + 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x509e01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x509e01
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov ecx, dword [esp + 0x7c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x70
ret 0x24