Function at 0x100072e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003bcf4
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x10052434]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
cmp dword [ebp + 0xc], 0x44d
mov dword [ebp - 0x468], ebx
jne 0x100077dc
mov dword [ebp - 4], ebx
mov eax, dword [0x6bdaf0]
push 0x44d
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x48]
test eax, eax
je 0x100077dc
mov ecx, dword [eax + 0x1fc]
test ecx, ecx
js 0x100077dc
cmp ecx, dword [eax + 0x210]
ja 0x100077dc
mov esi, dword [eax + ecx*4 + 0x214]
mov eax, dword [0x6bdaf0]
push 0x2711
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, eax
call fcn.10007010
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x88]
mov edx, eax
mov dword [ebp - 0xa0], ebx
mov ecx, edx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], bl
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100073b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.10005280
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x90]
cmp edi, 2
jb 0x10007485
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
cmp edi, 1
jb 0x10007eef
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push ecx
inc eax
lea ecx, [ebp - 0xcc]
push eax
call fcn.10005280
lea eax, [ebp - 0xcc]
mov ebx, 1
push eax
lea ecx, [ebp - 0xa0]
call fcn.10006200
mov edx, dword [ebp - 0xb8]
cmp edx, 0x10
jb 0x1000747f
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007475
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ef4
push edx
push ecx
call fcn.10019454
add esp, 8
mov edi, dword [ebp - 0x90]
push 9
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x88]
push str.DropList_
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.10005280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 0x10
mov esi, dword [ebp - 0x74]
mov eax, esi
cmovae ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x78]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x10007506
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
lea esi, [eax + edx]
push esi
call fcn.1001b060
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1000751f
mov byte [ebp - 0x468], 0
lea ecx, [ebp - 0x88]
push dword [ebp - 0x468]
push edi
call fcn.10006b30
mov edx, dword [ebp - 0x74]
mov eax, edx
mov ecx, dword [ebp - 0x78]
sub eax, ecx
mov edi, dword [ebp - 0xa0]
cmp eax, 4
jb 0x10007558
lea eax, [ecx + 4]
cmp edx, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
mov dword [eax + ecx], 0x6e69622e
mov byte [eax + ecx + 4], 0
jmp 0x10007579
push 4
push str..bin
mov byte [ebp - 0x468], 0
lea ecx, [ebp - 0x88]
push dword [ebp - 0x468]
push 4
call fcn.10006b30
push 0xb8
lea eax, [ebp - 0x464]
push 0
push eax
call fcn.1001b5e0
cmp dword [ebp - 0x74], 0x10
lea esi, [ebp - 0x88]
mov dword [ebp - 0x464], 0x1004a6f0
cmovae esi, dword [ebp - 0x88]
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], 0
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x454]
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
xorps xmm0, xmm0
mov dword [ebp - 0x3f8], 0x58
or ebx, 2
movlpd qword [ebp - 0x45c], xmm0
push eax
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x468], ebx
call fcn.10006080
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x464]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x468], eax
lea ecx, [ebp - 0x454]
call fcn.10004fc0
push ecx
push 0x21
push esi
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 6
call fcn.10004e90
test eax, eax
jne 0x1000768b
mov eax, dword [ebp - 0x464]
lea ecx, [ebp - 0x464]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
mov eax, dword [ebp - 0x464]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x468], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x464]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x458], 0
lea eax, [ebp - 0x88]
je 0x100077fa
cmp dword [ebp - 0x74], 0x10
cmovae eax, dword [ebp - 0x88]
push eax
push str._s_does_not_exist
call fcn.10009fe0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x40
push eax
push 0x40
push 4
push 0x49b50a
call esi
mov dword [0x49b50b], 0xff00ff00
mov eax, dword [0x6bdaf0]
mov dword [ebp - 0x46c], eax
push dword [ebp - 0x468]
mov ecx, dword [ebp - 0x46c]
call dword [0x10061de0]
lea eax, [ebp - 0x68]
mov dword [0x49b50b], 0xffffaaaa
push eax
push dword [ebp - 0x68]
push 4
push 0x49b50a
call esi
lea ecx, [ebp - 0x464]
call fcn.10007f00
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x10007791
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007787
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ef4
push edx
push ecx
call fcn.10019454
add esp, 8
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x100077dc
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100077d2
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ef4
push ecx
push edi
call fcn.10019454
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10019411
mov esp, ebp
pop ebp
ret 0x28
cmp dword [ebp - 0x74], 0x10
push 0x1004a688
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.1001e2e2
mov esi, eax
add esp, 8
test esi, esi
jne 0x10007886
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push str.Failed_to_open__s
call fcn.10009fe0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x40
push eax
push 0x40
push 4
push 0x49b50a
call esi
mov dword [0x49b50b], 0xffff0000
mov eax, dword [0x6bdaf0]
mov dword [ebp - 0x46c], eax
push dword [ebp - 0x468]
mov ecx, dword [ebp - 0x46c]
call dword [0x10061de0]
jmp 0x10007735
push esi
push 0x2e0
lea eax, [ebp - 0x3ac]
push 1
push eax
call fcn.10023e85
add esp, 0x10
cmp eax, 0x2e0
je 0x100079c7
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push str.Failed_to_read__s
call fcn.10009fe0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x40
push eax
push 0x40
push 4
push 0x49b50a
call edi
mov dword [0x49b50b], 0xffff0000
mov eax, dword [0x6bdaf0]
mov dword [ebp - 0x46c], eax
push dword [ebp - 0x468]
mov ecx, dword [ebp - 0x46c]
call dword [0x10061de0]
lea eax, [ebp - 0x68]
mov dword [0x49b50b], 0xffffaaaa
push eax
push dword [ebp - 0x68]
push 4
push 0x49b50a
call edi
push esi
call fcn.1001e781
add esp, 4
lea ecx, [ebp - 0x464]
call fcn.10007f00
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x10007975
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000796b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ef4
push edx
push ecx
call fcn.10019454
add esp, 8
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x100077dc
mov edx, dword [ebp - 0xa0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100079c0
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ef4
push ecx
push edx
jmp 0x100077d4
push esi
call fcn.1001e781
add esp, 4
lea ecx, [ebp - 0x454]
call fcn.10004da0
test eax, eax
jne 0x10007a0a
mov eax, dword [ebp - 0x464]
lea ecx, [ebp - 0x464]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0
xor ecx, ecx
movq qword [ebp - 0xb4], xmm0
xor eax, eax
mov dword [ebp - 0x68], ecx
xor esi, esi
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 8
xor edi, edi
mov dword [ebp - 0x468], 0x1964
cmp edi, 0x40
jge 0x10007af9
mov edx, dword [ebp + edi*8 - 0x2cc]
mov ebx, dword [ebp + edi*8 - 0x2c8]
movzx eax, dx
mov dword [ebp - 0xa8], edx
mov ecx, eax
mov dword [ebp - 0xa4], ebx
test ax, ax
je 0x10007af3
cmp ax, word [ebp - 0x468]
jae 0x10007af3
mov eax, dword [ebp - 0x68]
cmp eax, esi
je 0x10007aa2
nop dword [eax]
cmp word [eax], cx
je 0x10007a9e
add eax, 8
cmp eax, esi
jne 0x10007a90
jmp 0x10007aa2
cmp eax, esi
jne 0x10007af3
mov eax, 0x1c6
cmp dx, ax
je 0x10007af3
cmp esi, dword [ebp - 0x46c]
je 0x10007ac5
mov dword [esi], edx
mov dword [esi + 4], ebx
add esi, 8
mov dword [ebp - 0xb0], esi
inc edi
jmp 0x10007a50
lea eax, [ebp - 0xa8]
push eax
push esi
lea ecx, [ebp - 0xb4]
call fcn.10008590
mov eax, dword [ebp - 0xac]
mov esi, dword [ebp - 0xb0]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x68], eax
inc edi
jmp 0x10007a50
mov eax, dword [0x6bdaf0]
xor edi, edi
push 0x2711
mov dword [ebp - 0x470], edi
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword fs:[0x2c]
mov ebx, eax
mov edx, dword [0x10098480]
mov dword [ebp - 0xa4], ebx
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10098f80]
cmp ecx, dword [edx + 4]
jle 0x10007b70
push 0x10098f80
call fcn.100195b8
add esp, 4
cmp dword [0x10098f80], 0xffffffff
jne 0x10007b70
push 0x1003c230
mov dword [0x10098f84], 0x1004a704
call fcn.10019993
push 0x10098f80
call fcn.1001956e
add esp, 8
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], edi
push eax
push 0x40
push 4
add ebx, 0x400
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10007ba2
lea eax, [ebp - 0x6c]
mov dword [ebx], 5
push eax
push dword [ebp - 0x6c]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [ebp - 0x68]
mov ecx, 0x5b8113
cmp ebx, esi
je 0x10007c59
cmp edi, 6
je 0x10007c59
mov ax, word [ebx]
push 8
mov word [ebp - 0x70], ax
mov dword [ebp - 0x6e], 0
mov word [ebp - 0x6a], 0
call ecx
mov ecx, dword [ebp - 0x70]
add esp, 4
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x468], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, 0x5b8113
push 0x678
call eax
add esp, 4
mov ecx, eax
sub esp, 8
mov eax, 0x40c9ee
mov dword [esp + 4], 0
mov dword [esp], 0
push dword [ebp - 0x468]
push 0
call eax
mov ecx, dword [ebp - 0xa4]
push edi
push dword [ebp - 0x470]
mov edx, dword [ecx]
push eax
call dword [edx + 0x94]
mov edx, dword [ebp - 0x470]
lea eax, [edi + 1]
add ebx, 8
cmp edx, 6
cmovne eax, edi
xor ecx, ecx
mov edi, eax
cmp edx, 6
lea eax, [edx + 1]
cmovne ecx, eax
mov dword [ebp - 0x470], ecx
jmp 0x10007ba5
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
xor edi, edi
movq qword [ebp - 0xc0], xmm0
xor esi, esi
mov dword [ebp - 0x468], edi
xor ebx, ebx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 4], 9
xor edx, edx
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x6c], ebx
nop dword [eax + eax]
cmp edx, 0x40
jge 0x10007d41
mov dword [ebp - 0xa4], eax
test ax, ax
je 0x10007d38
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x10007d38
mov edx, edi
cmp edx, esi
je 0x10007ce6
cmp word [edx], ax
jne 0x10007cd9
mov cx, word [edx + 2]
cmp cx, word [ebp - 0x38a]
je 0x10007ce2
add edx, 4
cmp edx, esi
jne 0x10007cc7
jmp 0x10007ce6
cmp edx, esi
jne 0x10007d35
cmp esi, ebx
je 0x10007d04
mov edx, dword [ebp - 0x6c]
mov dword [esi], eax
add esi, 4
mov eax, dword [ebp - 0x38c]
inc edx
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x6c], edx
jmp 0x10007ca0
lea eax, [ebp - 0xa4]
push eax
push esi
lea ecx, [ebp - 0xc0]
call fcn.10008430
mov edi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x468], edi
mov edx, dword [ebp - 0x6c]
inc edx
mov dword [ebp - 0x6c], edx
jmp 0x10007ca0
push 0
lea eax, [ebp - 0x64]
push 0x1004a6b4
push eax
call fcn.100087f0
mov eax, dword [0x6bdaf0]
add esp, 0xc
mov ecx, dword [eax + 0x28]
push 0x578
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, eax
test ecx, ecx
je 0x10007d80
mov eax, dword [ecx]
lea edx, [ebp - 0x64]
push 0
push edx
call dword [eax + 0x80]
nop word [eax + eax]
cmp edi, esi
je 0x10007dea
movzx eax, word [edi]
mov word [ebp - 0x6c], ax
xor eax, eax
mov word [ebp - 0x6a], ax
movzx eax, word [edi + 2]
mov word [ebp - 0x470], ax
xor eax, eax
mov word [ebp - 0x46e], ax
lea eax, [ebp - 0x64]
push dword [ebp - 0x470]
push dword [ebp - 0x6c]
push str.X:_d_Y:_d
push eax
call fcn.100087f0
mov eax, dword [0x6bdaf0]
add esp, 0x10
mov ecx, dword [eax + 0x28]
push 0x578
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, eax
test ecx, ecx
je 0x10007de5
mov eax, dword [ecx]
lea edx, [ebp - 0x64]
push 0
push edx
call dword [eax + 0x80]
add edi, 4
jmp 0x10007d80
mov ecx, dword [ebp - 0x468]
test ecx, ecx
je 0x10007e21
sub ebx, ecx
mov eax, ecx
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x10007e17
mov ecx, dword [ecx - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ef4
push ebx
push ecx
call fcn.10019454
add esp, 8
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x10007e5b
mov ecx, dword [ebp - 0x46c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x10007e51
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ef4
push ecx
push edx
call fcn.10019454
add esp, 8
lea ecx, [ebp - 0x464]
call fcn.10007f00
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x10007e99
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007e8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ef4
push edx
push ecx
call fcn.10019454
add esp, 8
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x100077dc
mov edx, dword [ebp - 0xa0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100079c0
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ef4
jmp 0x100079c0
call fcn.10006280
call fcn.10024552
int3