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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
mov edx, dword [eax + 0x1a8]
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xa8]
xor ebx, ebx
cmp dword [eax + 0x48], 0
sete bl
mov dword [ebp - 0x34], ebx
jne 0x465150
mov edx, dword [ecx + 0x74]
test edx, edx
jne 0x465241
lea ebx, [eax + 0x48]
mov dword [ebp - 0x30], ebx
mov edx, dword [eax + 0x48]
test edx, edx
je 0x4651b9
lea esi, [esi]
mov esi, dword [edx + 0x24]
test esi, esi
je 0x465238
mov ecx, dword [ebp - 0x30]
mov edi, dword [ecx]
mov ebx, dword [edi + 0x24]
mov dword [ebp - 0x2c], ebx
xor esi, esi
xor eax, eax
jmp 0x46517e
mov edx, edi
mov ebx, dword [edx + eax*4 + 0x28]
mov ecx, dword [ebx + 0x14]
test ch, 0x80
jne 0x46519a
and ecx, 1
jne 0x465195
cmp dword [edx + 4], 1
je 0x46519a
mov dword [edx + esi*4 + 0x28], ebx
inc esi
inc eax
cmp eax, dword [ebp - 0x2c]
jb 0x46517c
mov dword [edi + 0x24], esi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4651b0
cmp dword [edi + 4], 1
je 0x465228
mov dword [ebp - 0x30], edi
mov edx, dword [edi]
test edx, edx
jne 0x465160
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x1a8]
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x4651df
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call eax
test eax, eax
je 0x465258
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x46581e
xor edx, edx
lea esi, [esi]
inc edx
mov eax, dword [eax]
test eax, eax
jne 0x4651f8
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x15c]
movzx eax, byte [eax + 1]
imul edx, eax
mov dword [ecx + 0x2b4], edx
mov eax, 1
add esp, 0x9c
pop ebx
pop esi
pop edi
leave
ret
test esi, esi
jne 0x4651b0
mov edx, dword [edi]
mov eax, dword [ebp - 0x30]
mov dword [eax], edx
jmp 0x465159
mov edi, edx
xor esi, esi
jmp 0x4651a0
mov dword [esp + 4], 4
mov dword [esp], edx
call fcn.00437e00
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x465265
xor eax, eax
add esp, 0x9c
pop ebx
pop esi
pop edi
leave
ret
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
test eax, eax
je 0x4659d7
mov dword [ebp - 0x40], 0
xor edx, edx
mov ecx, dword [ebp - 0x38]
nop
test byte [eax + 0x14], 1
je 0x46528a
mov dword [ecx + edx*4], eax
inc edx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x465280
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x74], edx
jb 0x465825
mov dword [esp + 0xc], 0x462cbc
mov dword [esp + 8], 4
mov ebx, dword [ebp - 0x40]
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.msvcrt.dll_qsort
mov dword [ebp - 0x1c], 0
mov dword [esp + 4], 0x4edd42
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00431938
mov esi, eax
test eax, eax
je 0x4659f5
test byte [eax + 0x14], 2
jne 0x4657ed
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp - 0x58]
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x5c], ebx
mov dword [esp + 4], 0x4edd4a
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00431938
mov dword [ebp - 0x64], eax
test eax, eax
je 0x465326
test byte [eax + 0x14], 2
jne 0x465326
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x4654c4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa8]
mov ecx, dword [eax + 0x2b4]
cmp ecx, 0xffffffff
je 0x4659e3
mov dword [ebp - 0x50], 0
mov ebx, dword [ebp + 8]
test byte [ebx + 0x39], 1
je 0x46537d
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov eax, dword [eax + 0x20]
cmp ecx, eax
ja 0x46537d
xor edx, edx
div dword [ebp - 0x5c]
mov ebx, edx
mov eax, ecx
xor edx, edx
div dword [ebp - 0x5c]
xor ecx, ecx
cmp ebx, edx
setae cl
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x3c], 0
xor edx, edx
xor esi, esi
mov ebx, dword [ebp - 0x5c]
dec ebx
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x5c]
neg eax
mov dword [ebp - 0x68], eax
mov edi, dword [ebp + 0xc]
jmp 0x4653dc
mov eax, dword [ebx + 0x14]
test al, 8
jne 0x4653ba
mov dword [ebp - 0x4c], 1
and eax, 0x402
cmp eax, 0x400
je 0x4658e6
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x3c], ecx
inc esi
cmp esi, dword [ebp - 0x40]
jae 0x465498
mov edx, ebx
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ecx + esi*4]
test edx, edx
je 0x4653ac
mov eax, dword [edx + 0x20]
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x7c], ecx
mov ecx, eax
sub ecx, dword [edx + 0x1c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebx + 0x1c]
cmp dword [ebp - 0x2c], ecx
je 0x4658f2
mov eax, 1
test edi, edi
je 0x465431
mov ecx, dword [edi + 0x24]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je 0x465431
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], edi
call ecx
test eax, eax
je 0x4653ac
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], eax
mov dword [esp], esi
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
call fcn.004630d0
test eax, eax
je 0x465806
mov edx, dword [ebp - 0x44]
mov dword [edx], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x14]
xor ecx, ecx
test al, 8
sete cl
mov dword [ebp - 0x4c], ecx
and eax, 0x402
cmp eax, 0x400
je 0x4658dc
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x4653da
test ebx, ebx
je 0x4654c4
mov edx, dword [ebp - 0x50]
mov dword [esp + 4], edx
mov dword [esp], esi
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
call fcn.004630d0
test eax, eax
je 0x465806
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x4654ed
mov ebx, dword [ebp - 0x64]
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004650d4
test eax, eax
je 0x465806
mov edx, dword [ebp - 0x44]
mov dword [edx], eax
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x6c]
test ebx, ebx
je 0x46566c
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0
lea esi, [esi]
mov eax, dword [ebx + 0x14]
test al, 2
je 0x4655cc
mov esi, dword [ebx]
mov edi, str..note
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
jne 0x4655cc
cmp dword [ebx + 0x3c], 2
je 0x465746
mov eax, 0x2c
mov edx, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x6c], edx
call fcn.00434348
mov edi, eax
test eax, eax
mov edx, dword [ebp - 0x6c]
je 0x465806
mov dword [eax], 0
mov dword [eax + 4], 4
mov dword [eax + 0x24], edx
cmp edx, 1
jbe 0x4655b1
mov esi, edx
jmp 0x465583
mov ebx, dword [ebx + 0xc]
cmp esi, 1
jbe 0x4655b1
mov edx, dword [edi + 0x24]
mov eax, edx
sub eax, esi
mov dword [edi + eax*4 + 0x28], ebx
dec esi
test byte [ebx + 0x15], 4
je 0x465578
mov dword [esp + 4], 0xf37
mov dword [esp], str..._.._bfd_elf.c
call fcn.004323ec
mov edx, dword [edi + 0x24]
mov ebx, dword [ebx + 0xc]
cmp esi, 1
ja 0x465580
mov dword [edi + edx*4 + 0x24], ebx
test byte [ebx + 0x15], 4
jne 0x4657cc
xor eax, eax
mov edx, dword [ebp - 0x44]
mov dword [edx], edi
mov dword [ebp - 0x44], edi
jmp 0x4655d1
and eax, 0x400
test eax, eax
je 0x4655e2
mov edx, dword [ebp - 0x2c]
test edx, edx
jne 0x4655df
mov dword [ebp - 0x40], ebx
inc dword [ebp - 0x2c]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x46550c
cmp dword [ebp - 0x2c], 0
je 0x46566c
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx*4 + 0x28]
mov dword [esp + 4], eax
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call fcn.00434348
mov ebx, eax
test eax, eax
je 0x465806
mov dword [eax], 0
mov dword [eax + 4], 7
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x24], eax
mov dword [ebx + 8], 4
or byte [ebx + 0x20], 1
xor esi, esi
mov edi, dword [ebp - 0x40]
jmp 0x465648
mov dword [ebx + esi*4 + 0x28], edi
mov edi, dword [edi + 0xc]
inc esi
cmp dword [ebp - 0x2c], esi
jbe 0x465664
test byte [edi + 0x15], 4
jne 0x46563b
mov dword [esp + 4], 0xf57
mov dword [esp], str..._.._bfd_elf.c
call fcn.004323ec
jmp 0x46563b
mov edx, dword [ebp - 0x44]
mov dword [edx], ebx
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa8]
mov ebx, dword [edx + 0x2d0]
test ebx, ebx
je 0x46568c
mov eax, dword [ebx + 0x38]
test byte [eax + 0x14], 2
jne 0x465891
cmp dword [edx + 0x2e4], 0
jne 0x46598c
cmp dword [ebp + 0xc], 0
je 0x46571e
mov eax, dword [ebp + 0xc]
test byte [eax + 3], 1
je 0x46571e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46571e
mov ebx, dword [ebp + 0xc]
jmp 0x4656ba
mov eax, dword [eax]
test eax, eax
je 0x46571e
cmp dword [eax + 4], 1
jne 0x4656b4
mov edx, dword [eax + 0x24]
mov edx, dword [eax + edx*4 + 0x24]
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx + 0x1c]
mov esi, dword [edx + 0x1c]
mov edi, dword [edx + 0x24]
mov edx, dword [ebx + 0x78]
cmp ecx, edx
jae 0x4656b4
cmp ecx, dword [ebx + 0x74]
jb 0x4656b4
lea esi, [edi + esi]
cmp edx, esi
ja 0x4656b4
mov dword [esp + 4], 0x2c
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00434348
test eax, eax
je 0x465806
mov dword [eax], 0
mov dword [eax + 4], 0x6474e552
mov dword [eax + 8], 4
or byte [eax + 0x20], 1
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov ebx, dword [ebp - 0x38]
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa8]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x38], ecx
jmp 0x465150
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x465535
cmp dword [eax + 0x3c], 2
jne 0x465535
test byte [eax + 0x14], 2
je 0x465535
mov ecx, ebx
mov edx, 1
mov dword [ebp - 0x3c], ebx
mov ebx, edx
mov edx, ecx
jmp 0x4657a1
mov ecx, dword [edx + 0x1c]
add ecx, dword [edx + 0x24]
add ecx, 3
and ecx, 0xfffffffc
cmp ecx, dword [eax + 0x1c]
jne 0x4657bb
inc ebx
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4657bb
cmp dword [ecx + 0x3c], 2
jne 0x4657bb
test byte [ecx + 0x14], 2
je 0x4657bb
mov edx, eax
mov eax, ecx
mov esi, dword [eax]
mov edi, str..note
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta byte [ebp - 0x30]
setb cl
cmp byte [ebp - 0x30], cl
je 0x465778
mov edx, ebx
mov ebx, dword [ebp - 0x3c]
lea eax, [edx*4 + 0x28]
jmp 0x46553f
mov dword [esp + 4], 0xf3b
mov dword [esp], str..._.._bfd_elf.c
call fcn.004323ec
mov eax, dword [ebx + 0x14]
and eax, 0x400
jmp 0x4655c1
mov dword [esp + 4], 0x2c
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call fcn.00434348
mov ebx, eax
test eax, eax
jne 0x46583e
mov edx, dword [ebp - 0x38]
mov dword [esp], edx
call sub.msvcrt.dll_free
xor eax, eax
add esp, 0x9c
pop ebx
pop esi
pop edi
leave
ret
xor edx, edx
jmp 0x4651ff
mov dword [esp + 4], 0xe3c
mov dword [esp], str..._.._bfd_elf.c
call fcn.004323ec
jmp 0x4652a0
mov dword [eax], 0
mov dword [eax + 4], 6
mov dword [eax + 8], 5
or byte [eax + 0x20], 0x21
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 0x2c
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00434348
test eax, eax
je 0x465806
mov dword [eax], 0
mov dword [eax + 4], 3
mov dword [eax + 0x24], 1
mov dword [eax + 0x28], esi
mov dword [ebx], eax
mov dword [ebp - 0x44], eax
jmp 0x4652f6
mov dword [esp + 4], 0x2c
mov dword [esp], ecx
call fcn.00434348
test eax, eax
je 0x465806
mov dword [eax], 0
mov dword [eax + 4], 0x6474e550
mov dword [eax + 0x24], 1
mov edx, dword [ebx + 0x38]
mov dword [eax + 0x28], edx
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xa8]
jmp 0x46568c
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x3c], 0
jmp 0x4653d0
mov ecx, dword [ebp - 0x3c]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x30], ecx
jb 0x46597d
and ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], ecx
cmp eax, dword [ebp - 0x3c]
jae 0x465936
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], eax
ja 0x46592a
and eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
cmp dword [ebp - 0x7c], ecx
jae 0x465406
test dword [edx + 0x14], 0x402
jne 0x46594c
test dword [ebx + 0x14], 0x402
jne 0x465406
mov eax, dword [ebp + 8]
test byte [eax + 0x39], 1
je 0x465985
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x465985
xor eax, eax
test byte [ebx + 0x14], 8
jne 0x46540b
mov eax, dword [ebp - 0x2c]
dec eax
xor eax, dword [ebp - 0x7c]
test dword [ebp - 0x68], eax
setne al
movzx eax, al
jmp 0x46540b
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], ecx
jmp 0x465914
xor eax, eax
jmp 0x46540b
mov dword [esp + 4], 0x2c
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00434348
test eax, eax
je 0x465806
mov dword [eax], 0
mov dword [eax + 4], 0x6474e551
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa8]
mov edx, dword [edx + 0x2e4]
mov dword [eax + 8], edx
or byte [eax + 0x20], 1
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov dword [ebp - 0x44], eax
jmp 0x465699
mov dword [ebp - 0x40], 0
jmp 0x4652a0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
call fcn.00462f2c
mov ecx, eax
jmp 0x465349
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x44], edx
jmp 0x4652f6