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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x4c], edx
mov ebp, dword [esp + 0xf4]
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x4e5fea
mov eax, dword [esp + 0x3c]
call sym._read_uleb128
mov ebx, eax
mov eax, edx
mov ecx, edx
or eax, ebx
je 0x4e5fea
mov esi, dword [esp + 0xf0]
lea eax, [ebp + 0x4c]
mov edx, ebx
mov dword [esp + 4], esi
mov esi, dword [esp + 0xec]
mov dword [esp], esi
call sym._lookup_abbrev
mov dword [esp + 0x38], eax
test eax, eax
je 0x4e61c0
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x4e5df5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xfc]
mov eax, dword [eax + 8]
mov dword [ecx], eax
xor eax, eax
mov ecx, 0xe
lea edi, [esp + 0x88]
mov dword [esp + 0x58], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
test eax, eax
je 0x4e5fa8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], 0
xor esi, esi
mov dword [esp + 0x40], 0
mov ebx, dword [eax + 0x14]
jmp 0x4e5ec0
cmp eax, 0x10
je 0x4e60e0
jbe 0x4e6048
cmp eax, 0x12
jbe 0x4e6120
cmp eax, 0x1b
jne 0x4e5eb0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
cmp eax, 0x11
je 0x4e6138
cmp eax, 0x4a
je 0x4e6138
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esp + 0x38]
add esi, 1
cmp dword [eax + 0x10], esi
jbe 0x4e5f90
mov edi, esi
shl edi, 4
add ebx, edi
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
lea ebx, [esp + 0x78]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0xc], ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 8], ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
call sym._read_attribute
test eax, eax
je 0x4e5fef
mov eax, dword [esp + 0x38]
mov ebx, dword [eax + 0x14]
mov eax, dword [ebx + edi]
cmp eax, 0x55
je 0x4e6120
jbe 0x4e5e70
cmp eax, 0x73
je 0x4e60a0
cmp eax, 0x74
jne 0x4e6000
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
cmp eax, 0x11
je 0x4e5f57
cmp eax, 0x4a
jne 0x4e5eb0
cmp dword [esp + 0x78], 0xa
jne 0x4e5eb0
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
add esi, 1
mov dword [ebp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x3c], edx
cmp dword [eax + 0x10], esi
ja 0x4e5ec0
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4e6170
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x4e61d0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
cmp eax, 0x11
sete dl
cmp eax, 0x2e
sete cl
or dl, cl
jne 0x4e6228
cmp eax, 0x4a
je 0x4e6228
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x4e62f8
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4e5d98
mov eax, 1
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x72
jne 0x4e5eb0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
cmp eax, 0x11
je 0x4e601e
cmp eax, 0x4a
jne 0x4e5eb0
cmp dword [esp + 0x78], 0xa
jne 0x4e5eb0
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], edx
jmp 0x4e5eb0
cmp eax, 3
jne 0x4e5eb0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
cmp eax, 0x11
je 0x4e6066
cmp eax, 0x4a
jne 0x4e5eb0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x64], eax
jmp 0x4e5eb0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
cmp eax, 0x11
je 0x4e60b5
cmp eax, 0x4a
jne 0x4e5eb0
cmp dword [esp + 0x78], 0xa
jne 0x4e5eb0
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
jmp 0x4e5eb0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
cmp eax, 0x11
je 0x4e60f5
cmp eax, 0x4a
jne 0x4e5eb0
mov eax, dword [esp + 0x78]
cmp eax, 3
je 0x4e6107
cmp eax, 0xa
jne 0x4e5eb0
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], edx
jmp 0x4e5eb0
lea ecx, [esp + 0x88]
lea edx, [esp + 0x78]
call sym._update_pcrange.isra.0
jmp 0x4e5eb0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], 1
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
jmp 0x4e5eb0
lea eax, [ebp + 0x40]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov ecx, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x2c]
mov eax, dword [esp + 0xe0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 4], ebx
call sym._resolve_string
test eax, eax
jne 0x4e5f9c
xor eax, eax
jmp 0x4e5fef
lea eax, [ebp + 0x44]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov ecx, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x2c]
mov eax, dword [esp + 0xe0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 4], ebx
call sym._resolve_string
test eax, eax
jne 0x4e5fa8
jmp 0x4e61c0
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], sym._add_unit_addr
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 4], ebp
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
call sym._add_ranges
test eax, eax
je 0x4e61c0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
cmp eax, 0x11
je 0x4e62b5
cmp eax, 0x4a
jne 0x4e5fcc
mov ebx, dword [esp + 0xb8]
test ebx, ebx
jne 0x4e5fea
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4e5fcc
mov edx, dword [esp + 0xa0]
test edx, edx
jne 0x4e5fea
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x4e5fdb
lea esi, [esi]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ebp
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
call sym._find_address_ranges
test eax, eax
jne 0x4e5fdb
xor eax, eax
jmp 0x4e5fef