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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x17c
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x190]
mov esi, dword [esp + 0x1a0]
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x198]
mov edx, dword [esp + 0x19c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x3c], edx
mov ebp, dword [esp + 0x194]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x4d1a9e
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4d20d0
mov edx, dword [esi + 0x30]
mov eax, 1
test edx, edx
je 0x4d1bde
mov ecx, dword [esi + 0x28]
mov ebx, dword [esi + 0x2c]
cmp dword [ebp + 0x14], 4
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
jg 0x4d1bf0
mov eax, dword [esp + 0x50]
xor edx, edx
mov esi, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
cmp ecx, esi
sbb ebx, edx
jae 0x4d21a0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], str..debug_ranges
mov dword [esp + 0xb8], eax
add edi, ecx
sub esi, ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb0], edi
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb4], esi
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc4], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov edx, ecx
lea eax, [esp + 0xa8]
call sym._read_address
mov edi, edx
mov edx, dword [ebp + 0x1c]
mov esi, eax
lea eax, [esp + 0xa8]
mov ebx, edi
call sym._read_address
mov ecx, esi
or ecx, eax
or ebx, edx
or ecx, ebx
je 0x4d1bd0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 4
je 0x4d22b0
jg 0x4d21f0
cmp ecx, 1
je 0x4d2290
cmp ecx, 2
jne 0x4d2208
mov ebx, esi
xor ebx, 0xffff
mov dword [esp + 0x50], ebx
mov ebx, edi
or ebx, dword [esp + 0x50]
jne 0x4d2208
mov esi, dword [esp + 0xc4]
test esi, esi
jne 0x4d1d70
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
jmp 0x4d1b43
mov ebx, dword [esp + 0xc4]
xor eax, eax
test ebx, ebx
sete al
add esp, 0x17c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
test esi, esi
jne 0x4d1cd0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
xor edx, edx
mov ebx, dword [esp + 0x64]
mov edi, dword [eax + 0x44]
cmp ecx, edi
sbb ebx, edx
jae 0x4d21c8
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x88], str..debug_rnglists
mov dword [esp + 0xa4], 0
mov eax, dword [eax + 0x20]
sub edi, ecx
mov dword [esp + 0x94], edi
mov dword [esp + 0x8c], eax
add eax, ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], eax
test esi, esi
jne 0x4d2330
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], eax
lea esi, [esi]
lea eax, [esp + 0x88]
call sym._read_byte
test al, al
je 0x4d247a
cmp al, 7
ja case.0x4d1cbf.0
movzx eax, al
jmp dword [eax*4 + 0x55f2dc]
cmp dword [ebp + 0x18], 1
mov edx, dword [esp + 0x60]
sbb eax, eax
mov ebx, dword [esp + 0x64]
and eax, 0xfffffffc
add eax, 8
imul ebx, eax
mul edx
add edx, ebx
add eax, dword [ebp + 0x38]
adc edx, dword [ebp + 0x3c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
jmp 0x4d1c0b
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x88]
call sym._read_address
mov esi, eax
lea eax, [esp + 0x88]
mov edi, edx
call sym._read_uleb128
mov ebx, dword [esp + 0x68]
add esi, dword [esp + 0x38]
adc edi, dword [esp + 0x3c]
add eax, esi
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x44]
adc edx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
call eax
test eax, eax
jne 0x4d1ca0
xor eax, eax
add esp, 0x17c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x88]
call sym._read_address
mov edi, edx
mov edx, dword [ebp + 0x1c]
mov esi, eax
lea eax, [esp + 0x88]
call sym._read_address
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x3c]
adc edx, ebx
add esi, ecx
mov dword [esp + 0x14], edx
adc edi, ebx
jmp 0x4d1d4b
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x88]
call sym._read_address
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
jmp 0x4d1ca0
lea eax, [esp + 0x88]
call sym._read_uleb128
mov esi, eax
lea eax, [esp + 0x88]
mov edi, edx
call sym._read_uleb128
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x78]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
adc ebx, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
add eax, ecx
adc edx, ebx
add ecx, esi
mov dword [esp + 0x10], eax
adc ebx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
jmp 0x4d1d53
lea eax, [esp + 0x88]
call sym._read_uleb128
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x40]
mov ebx, dword [edi + 0x38]
mov ecx, dword [edi + 0x14]
lea edi, [esp + 0xa8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov dword [esp], eax
mov eax, ecx
mov dword [esp + 4], edx
mov edx, ebx
call sym._resolve_addr_index.isra.0
test eax, eax
je 0x4d1d70
lea eax, [esp + 0x88]
call sym._read_uleb128
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0xa8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x3c]
adc ebx, dword [esp + 0xac]
mov dword [esp + 0x18], esi
add eax, ecx
mov dword [esp + 8], ecx
adc edx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ebx
jmp 0x4d1d53
lea eax, [esp + 0x88]
call sym._read_uleb128
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
mov esi, dword [edi + 0x14]
mov ebx, dword [edi + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x60], esi
lea esi, [esp + 0x80]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], edx
mov edx, ebx
call sym._resolve_addr_index.isra.0
test eax, eax
je 0x4d1d70
lea edx, [esp + 0x88]
mov eax, edx
call sym._read_uleb128
mov ebx, dword [edi + 0x38]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x1c], esi
lea edi, [esp + 0xa8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov dword [esp], eax
mov eax, ecx
mov dword [esp + 4], edx
mov edx, ebx
call sym._resolve_addr_index.isra.0
test eax, eax
je 0x4d1d70
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
mov eax, ebx
add eax, dword [esp + 0xa8]
mov edx, esi
adc edx, dword [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, ebx
mov dword [esp + 0x14], edx
add eax, dword [esp + 0x80]
mov edx, esi
adc edx, dword [esp + 0x84]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
jmp 0x4d1d53
lea eax, [esp + 0x88]
lea esi, [esp + 0x78]
call sym._read_uleb128
mov edi, dword [esp + 0x50]
mov ebx, dword [edi + 0x38]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edi
mov eax, dword [ebp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov dword [esp], eax
mov eax, ecx
mov dword [esp + 4], edx
mov edx, ebx
call sym._resolve_addr_index.isra.0
test eax, eax
jne 0x4d1ca0
xor eax, eax
jmp 0x4d1d72
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
test edi, edi
jne 0x4d2390
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ebx, dword [esi + 0x20]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
test ebx, ebx
jne 0x4d23f8
mov ecx, dword [esi + 0x1c]
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
test ecx, ecx
je 0x4d2126
add eax, edi
adc edx, ebp
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
xor ebx, ebx
add eax, ecx
mov dword [esp + 0x1b0], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x5c]
adc edx, ebx
add ecx, edi
mov dword [esp + 0x1ac], esi
mov esi, dword [esp + 0x40]
adc ebx, ebp
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x198], ecx
add esp, 0x17c
pop ebx
pop esi
pop edi
pop ebp
jmp eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 0
mov dword [esp + 4], str.ranges_offset_out_of_range
mov dword [esp], eax
mov eax, dword [esp + 0x40]
call eax
xor eax, eax
jmp 0x4d1d72
mov dword [esp + 8], 0
mov dword [esp + 4], str.rnglists_offset_out_of_range
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
call eax
xor eax, eax
jmp 0x4d1d72
cmp ecx, 8
jne 0x4d2208
mov ebx, edi
and ebx, esi
cmp ebx, 0xffffffff
je 0x4d1bac
lea esi, [esi]
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
add eax, dword [esp + 0x38]
adc edx, dword [esp + 0x3c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, esi
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x4c]
adc edx, ebx
add eax, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov edx, edi
adc edx, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
adc edx, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
call eax
test eax, eax
je 0x4d1d70
mov edi, dword [esp + 0xc4]
test edi, edi
jne 0x4d1d70
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x1c]
jmp 0x4d1bbb
mov ebx, esi
xor bl, 0xff
mov dword [esp + 0x50], ebx
mov ebx, edi
or ebx, dword [esp + 0x50]
je 0x4d1bac
jmp 0x4d2208
mov ebx, esi
mov dword [esp + 0x50], edi
not ebx
or ebx, edi
je 0x4d1bac
jmp 0x4d2208
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x8c]
lea ebx, [esp + 0xa8]
mov dword [esp + 0xc], str.unrecognized_DW_RLE_value
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], str._s_in__s_at__d
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0xc8
mov dword [esp], ebx
call sym._snprintf.constprop.0
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0xffffffff
mov dword [esp], eax
call dword [esp + 0x9c]
xor eax, eax
jmp 0x4d1d72
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x88]
test ecx, ecx
jne 0x4d2388
call sym._read_uint32
xor edx, edx
add eax, dword [ebp + 0x38]
adc edx, dword [ebp + 0x3c]
mov ecx, eax
mov eax, dword [esp + 0x50]
mov ebx, edx
xor edx, edx
mov edi, ebx
mov esi, dword [eax + 0x44]
cmp ecx, esi
sbb edi, edx
jae 0x4d2465
mov edi, dword [esp + 0x50]
sub esi, ecx
mov dword [esp + 0x94], esi
mov eax, dword [edi + 0x20]
add eax, ecx
mov dword [esp + 0x90], eax
jmp 0x4d1c89
call sym._read_uint64
jmp 0x4d2345
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x88]
mov ebx, dword [edi + 0x38]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov dword [esp], eax
mov eax, edi
mov dword [esp + 4], edx
mov edx, ebx
call sym._resolve_addr_index.isra.0
test eax, eax
jne 0x4d20ee
xor eax, eax
jmp 0x4d1d72
mov edi, dword [esp + 0x50]
lea ebx, [esp + 0xa8]
mov ecx, dword [edi + 0x38]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov dword [esp], eax
mov eax, edi
mov dword [esp + 4], edx
mov edx, ecx
call sym._resolve_addr_index.isra.0
test eax, eax
je 0x4d1d70
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
jmp 0x4d210d
mov dword [esp + 8], 0
mov dword [esp + 4], str.rnglists_index_offset_out_of_range
jmp 0x4d21d8
mov edx, dword [esp + 0xa4]
xor eax, eax
test edx, edx
sete al
jmp 0x4d1bde