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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x46d2b0
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x46d28c
mov eax, 1
add esp, 0x9c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], 0x33a
mov dword [esp], str..._.._bfd_elf.c
call fcn.004323ec
mov eax, 1
add esp, 0x9c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x84], edx
call fcn.00431d50
mov dword [ebp - 0x64], eax
test eax, eax
mov edx, dword [ebp - 0x84]
je 0x46d337
mov dword [ebx + 0x2c], eax
mov eax, dword [eax + 0x8c]
mov ecx, 0xe
mov edi, eax
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x7c], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0x14]
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x50], esi
mov dword [eax + 0x54], edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x1c], eax
or byte [ecx + 0x18], 1
mov eax, dword [ebx + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov esi, dword [ebp + 8]
mov dword [esp], esi
mov dword [ebp - 0x84], edx
call fcn.00431f74
test eax, eax
jne 0x46d340
xor eax, eax
jmp 0x46d280
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
call fcn.004387d4
mov edi, dword [ebp - 0x64]
mov dword [edi + 0x3c], eax
mov dword [ebp - 0x1c], 0
mov esi, dword [ebx + 4]
cmp esi, 8
mov edx, dword [ebp - 0x84]
je 0x46d57e
mov dword [ebp - 0x1c], 0x100
cmp esi, 0x11
je 0x46d56d
mov ecx, 0x100
mov eax, dword [ebx + 8]
test al, 2
je 0x46d397
or ecx, 1
mov dword [ebp - 0x1c], ecx
cmp esi, 8
je 0x46d397
or ecx, 2
mov dword [ebp - 0x1c], ecx
test al, 1
jne 0x46d3a1
or ecx, 8
mov dword [ebp - 0x1c], ecx
test al, 4
je 0x46d4e4
or ecx, 0x10
mov dword [ebp - 0x1c], ecx
test al, 0x10
je 0x46d3d7
mov ecx, dword [ebp - 0x1c]
mov esi, ecx
or esi, 0x800000
mov dword [ebp - 0x1c], esi
mov esi, dword [ebx + 0x28]
mov edi, dword [ebp - 0x64]
mov dword [edi + 0x78], esi
test al, 0x20
je 0x46d3d7
or ecx, 0x1800000
mov dword [ebp - 0x1c], ecx
test ah, 2
jne 0x46d509
test ah, 4
jne 0x46d4f8
mov esi, dword [ebp - 0x1c]
test eax, eax
js 0x46d585
test esi, 1
jne 0x46d405
cmp byte [edx], 0x2e
je 0x46d835
mov edi, str..gnu.linkonce
mov ecx, 0xd
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46d42c
mov edi, dword [ebp - 0x64]
mov eax, dword [edi + 0x8c]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x46d8cb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x1a8]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x46d453
mov dword [esp + 4], ebx
lea edx, [ebp - 0x1c]
mov dword [esp], edx
call eax
test eax, eax
je 0x46d337
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x64]
mov dword [esp + 4], ecx
mov esi, dword [ebp + 8]
mov dword [esp], esi
call fcn.00431ec4
test eax, eax
je 0x46d337
cmp dword [ebx + 4], 7
je 0x46d8f1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
test al, 1
je 0x46d27b
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xa8]
mov eax, dword [ecx + 0x44]
mov edi, dword [ecx + 0x30]
test edi, edi
je 0x46d27b
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x46d756
mov edx, eax
mov dword [ebp - 0x60], 0
xor esi, esi
jmp 0x46d4d2
inc esi
cmp edi, esi
jbe 0x46d744
add edx, 0x20
cmp dword [edx + 0x10], 0
jne 0x46d756
cmp dword [edx], 1
jne 0x46d4bc
cmp dword [edx + 0x18], 1
sbb dword [ebp - 0x60], 0xffffffff
jmp 0x46d4bc
test cl, 2
je 0x46d3af
or ecx, 0x20
mov dword [ebp - 0x1c], ecx
jmp 0x46d3af
mov esi, dword [ebp - 0x1c]
or esi, 0x400
mov dword [ebp - 0x1c], esi
jmp 0x46d3ec
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0xa8]
mov ecx, dword [edi + 0x2d8]
mov dword [ebp - 0x74], ecx
test ecx, ecx
jne 0x46d599
mov esi, dword [edi + 0x58]
mov dword [ebp - 0x68], esi
test esi, esi
je 0x46d826
mov esi, dword [edi + 0x40]
mov dword [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 0x78], edi
jmp 0x46d54a
inc eax
cmp dword [ebp - 0x68], eax
jbe 0x46d818
mov ecx, dword [esi + eax*4]
cmp dword [ecx + 4], 0x11
jne 0x46d540
mov edi, dword [ecx + 0x18]
cmp edi, 7
jbe 0x46d540
cmp dword [ecx + 0x28], 4
jne 0x46d540
and edi, 3
cmp edi, 1
adc dword [ebp - 0x70], 0
jmp 0x46d540
mov dword [ebp - 0x1c], 0x2008100
mov ecx, 0x2008100
jmp 0x46d37f
xor ecx, ecx
jmp 0x46d37f
or esi, 0x8000
mov dword [ebp - 0x1c], esi
jmp 0x46d3f4
mov ebx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x80]
cmp dword [ebp - 0x74], 0xffffffff
je 0x46d662
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x46d662
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x78], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0xa8]
mov dword [ebp - 0x70], edx
mov eax, dword [edx + 0x2d4]
mov ecx, dword [ebp - 0x68]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x18]
shr eax, 2
mov ecx, eax
mov edi, edx
lea esi, [esi]
dec ecx
je 0x46d650
add edi, 4
cmp ebx, dword [edi]
jne 0x46d5e0
nop
dec eax
je 0x46d684
add edx, 4
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x46d5ec
mov ecx, dword [ecx + 0x8c]
mov edi, dword [ecx + 0xa8]
test edi, edi
je 0x46d5ec
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x8c]
mov edx, dword [ecx + 0xa0]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa8], edi
mov edi, dword [ebp - 0x64]
mov dword [ecx + 0xa8], edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x46d649
mov eax, dword [eax + 0x8c]
mov esi, dword [ebp - 0x64]
mov dword [eax + 0xa8], esi
mov edi, dword [ebp - 0x74]
dec edi
mov dword [ebp - 0x68], edi
inc dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x74], eax
ja 0x46d5b8
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 0x8c]
mov esi, dword [eax + 0xa0]
test esi, esi
je 0x46dac0
mov eax, dword [ebx + 8]
jmp 0x46d3e0
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x70]
cmp eax, dword [edx + 0x58]
jae 0x46d337
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x40]
mov edx, dword [edx + eax*4]
cmp dword [edx + 4], 2
jne 0x46d337
mov dword [esp + 4], eax
mov edi, dword [ebp + 8]
mov dword [esp], edi
call fcn.0046db40
test eax, eax
je 0x46d337
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0xa8]
add edi, 0x68
lea edx, [ebp - 0x24]
mov dword [esp + 0x18], edx
lea ecx, [ebp - 0x50]
mov dword [esp + 0x14], ecx
lea eax, [ebp - 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00463ab0
test eax, eax
je 0x46d337
mov dword [esp + 0xc], 0
lea ecx, [ebp - 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov edi, dword [ebp + 8]
mov dword [esp], edi
call fcn.00463dc4
test eax, eax
je 0x46d337
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x8c]
mov dword [edx + 0xa0], eax
mov dword [edx + 0xa8], ecx
jmp 0x46d633
cmp dword [ebp - 0x60], 1
ja 0x46d27b
test edi, edi
je 0x46d27b
mov esi, dword [ebp - 0x68]
and esi, 2
mov dword [ebp - 0x74], esi
xor edx, edx
jmp 0x46d771
inc edx
cmp dword [ecx + 0x30], edx
jbe 0x46d27b
add eax, 0x20
cmp dword [eax], 1
jne 0x46d764
mov edi, dword [ebx + 8]
mov dword [ebp - 0x78], edi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x7c], esi
cmp esi, 8
je 0x46d7c7
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], edi
mov edi, dword [eax + 8]
mov dword [ebp - 0x68], edi
cmp edi, esi
ja 0x46d764
mov esi, dword [ebx + 0x18]
xor edi, edi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
add dword [ebp - 0x70], esi
adc dword [ebp - 0x6c], edi
mov edi, dword [ebp - 0x68]
add edi, dword [eax + 0x14]
cmp dword [ebp - 0x6c], 0
jg 0x46d764
jl 0x46d7c7
cmp dword [ebp - 0x70], edi
ja 0x46d764
test byte [ebp - 0x78], 2
jne 0x46d890
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x60], edi
mov esi, dword [ebp - 0x74]
test esi, esi
jne 0x46d8d7
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x70], edi
mov esi, dword [ebp - 0x60]
add esi, dword [eax + 0x10]
sub esi, edi
mov edi, dword [ebp - 0x64]
mov dword [edi + 0x20], esi
mov edi, dword [ebp - 0x60]
cmp dword [ebp - 0x70], edi
ja 0x46d764
add edi, dword [ebx + 0x18]
mov esi, dword [ebp - 0x70]
add esi, dword [eax + 0x18]
cmp edi, esi
ja 0x46d764
jmp 0x46d27b
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x46d93b
mov dword [edi + 0x2d8], 0xffffffff
jmp 0x46d662
lea edi, [edx + 1]
movsx eax, byte [edx + 1]
sub eax, 0x64
cmp eax, 0x16
ja 0x46d405
mov ecx, dword [eax*8 + 0x4eecc0]
test ecx, ecx
je 0x46d405
mov eax, dword [eax*8 + 0x4eecc4]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [ebp - 0x84], edx
call sub.msvcrt.dll_strncmp
test eax, eax
mov edx, dword [ebp - 0x84]
jne 0x46d405
or esi, 0x2000
mov dword [ebp - 0x1c], esi
jmp 0x46d405
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x60], esi
mov edi, dword [eax + 0xc]
cmp esi, edi
jb 0x46d764
sub esi, edi
mov dword [ebp - 0x68], esi
test dword [ebp - 0x78], 0x400
je 0x46d8b7
xor edi, edi
cmp dword [ebp - 0x7c], 8
je 0x46d8ba
mov edi, dword [ebx + 0x18]
add edi, dword [ebp - 0x68]
cmp edi, dword [eax + 0x18]
ja 0x46d764
jmp 0x46d7d7
or dword [ebp - 0x1c], 0x20000
jmp 0x46d42c
mov esi, dword [ebx + 0x10]
sub esi, dword [eax + 8]
add esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x64]
mov dword [edi + 0x20], esi
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x70], esi
jmp 0x46d7f6
lea eax, [ebp - 0x20]
mov dword [esp + 8], eax
mov edi, dword [ebp - 0x64]
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.004321b8
test eax, eax
je 0x46d337
mov ecx, dword [ebx + 0x18]
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.0046c1e4
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_free
jmp 0x46d47e
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x2d8], eax
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov dword [ebp - 0x84], edx
call fcn.00434294
mov dword [edi + 0x2d4], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xa8]
xor eax, eax
cmp dword [ecx + 0x2d4], 0
mov edx, dword [ebp - 0x84]
je 0x46d280
mov dword [ebp - 0x7c], ebx
mov ebx, eax
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x60], esi
jmp 0x46d9a7
inc ebx
cmp dword [ebp - 0x68], ebx
jbe 0x46d593
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0xa8]
mov eax, dword [ecx + 0x40]
mov esi, dword [eax + ebx*4]
cmp dword [esi + 4], 0x11
jne 0x46d994
mov edi, dword [esi + 0x18]
cmp edi, 7
jbe 0x46d994
cmp dword [esi + 0x28], 4
jne 0x46d994
test edi, 3
jne 0x46d994
mov eax, dword [ecx + 0x2d4]
mov edx, dword [ebp - 0x74]
mov dword [eax + edx*4], esi
inc edx
mov dword [ebp - 0x74], edx
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov ecx, dword [ebp - 0x60]
mov dword [esp], ecx
call fcn.00434294
mov dword [esi + 0x30], eax
test eax, eax
je 0x46db10
and edi, 0x3fffffff
mov dword [ebp - 0x78], edi
mov edi, eax
mov ecx, dword [ebp - 0x78]
xor eax, eax
rep stosb byte es:[edi], al
mov dword [esp + 0xc], 0
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x60]
mov dword [esp], ecx
call fcn.0043be6c
test eax, eax
jne 0x46d337
mov edi, dword [ebp - 0x60]
mov dword [esp + 8], edi
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call fcn.0043bcbc
cmp eax, dword [esi + 0x18]
jne 0x46d337
mov ecx, dword [esi + 0x30]
lea edi, [ecx + eax]
add ecx, dword [ebp - 0x78]
mov dword [ebp - 0x70], ebx
mov ebx, dword [ebp - 0x60]
jmp 0x46da7a
shl eax, 2
mov edx, dword [ebx + 0xa8]
mov edx, dword [edx + 0x40]
mov eax, dword [edx + eax]
mov dword [ecx], eax
sub edi, 4
sub ecx, 4
mov eax, dword [ebx + 8]
mov dword [esp], edi
mov dword [ebp - 0x84], ecx
call dword [eax + 0x4c]
cmp edi, dword [esi + 0x30]
mov ecx, dword [ebp - 0x84]
je 0x46dae9
cmp dword [ebp - 0x68], eax
ja 0x46da69
mov dword [esp + 4], ebx
mov dword [esp], str._B:_invalid_SHT_GROUP_entry
mov dword [ebp - 0x84], ecx
call dword [0x49e8c0]
xor eax, eax
mov ecx, dword [ebp - 0x84]
jmp 0x46da6c
mov dword [esp + 8], ecx
mov esi, dword [ebp + 8]
mov dword [esp + 4], esi
mov dword [esp], str._B:_no_group_info_for_section__A
mov dword [ebp - 0x84], edx
call dword [0x49e8c0]
mov edx, dword [ebp - 0x84]
jmp 0x46d679
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x70]
mov dword [ecx], eax
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x46d994
test al, 1
je 0x46d994
or dword [ecx + 0x14], 0x20000
jmp 0x46d994
mov eax, dword [esi + 0x18]
mov dword [esp + 8], eax
mov esi, dword [ebp + 8]
mov dword [esp + 4], esi
mov dword [esp], str._B:_Corrupt_size_field_in_group_section_header:_0x_lx
call dword [0x49e8c0]
mov dword [esp], 0x10
call fcn.004328a0
xor eax, eax
jmp 0x46d280