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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a4d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x6db3f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c4], ecx
mov eax, dword [ebp - 0x1c4]
mov dword [eax + 0x38], 0
mov dword [0x6dd4c8], 0
mov ecx, 0x6dd4cc
call fcn.00402770
mov ecx, dword [ebp - 0x1c4]
xor edx, edx
cmp edx, dword [ecx + 8]
sbb eax, eax
add eax, 1
je 0x41783d
push 1
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x34
call fcn.00428bd0
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov byte [eax], 0xc3
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0xa4], ecx
lea edx, [ebp - 0x6c]
push edx
push 0x40
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
jmp 0x417bc5
mov ecx, dword [ebp - 0x1c4]
call fcn.004180a0
lea ecx, [ebp - 0x64]
call fcn.00417be0
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx + 8]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0xbc]
jge 0x4178be
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
lea edx, [eax + ecx*4]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x78]
mov eax, dword [edx + 0x54]
call eax
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
jmp 0x417865
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x1c4]
call fcn.00415aa0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x64], 0
je 0x4178ed
mov eax, dword [ebp - 0x18]
add eax, 0xf
push eax
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x34
call fcn.00428bd0
jmp 0x417902
mov ecx, dword [ebp - 0x18]
add ecx, 3
push ecx
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x34
call fcn.00428bd0
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x64], 0
je 0x417976
mov eax, dword [ebp - 0x14]
mov byte [eax], 0x55
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov byte [edx], 0x8b
mov eax, dword [ebp - 0x14]
mov byte [eax + 1], 0xec
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov byte [edx], 0x81
mov eax, dword [ebp - 0x14]
mov byte [eax + 1], 0xec
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x64]
mov dword [ecx + 2], edx
mov eax, dword [ebp - 0x14]
add eax, 6
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 9
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.00416870
cmp dword [ebp - 0x64], 0
je 0x4179b4
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0x8b
mov edx, dword [ebp - 0x14]
mov byte [edx + 1], 0xe5
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0x5d
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xc3
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x7c], 0
jmp 0x4179e3
mov edx, dword [ebp - 0x7c]
add edx, 1
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0xc8]
jae 0x417b45
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x40]
lea ecx, [eax + edx*4]
mov dword [ebp - 0xcc], ecx
push 0
push 0x6d842c
push 0x6d81fc
push 0
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx]
push eax
call fcn.00542ecb
add esp, 0x14
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x28
push ecx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x60]
call fcn.0041ebb0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x8c], 0
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x88], ecx
lea edx, [ebp - 0x60]
test edx, edx
jne 0x417a78
call fcn.005422b7
xor eax, eax
jne 0x417a78
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x8c], ecx
xor edx, edx
cmp dword [ebp - 0x28], 0
setne dl
movzx eax, dl
test eax, eax
je 0x417aaa
mov ecx, dword [ebp - 0x28]
xor edx, edx
cmp ecx, dword [ebp - 0x8c]
sete dl
movzx eax, dl
test eax, eax
jne 0x417aaf
call fcn.005422b7
xor ecx, ecx
jne 0x417aaf
mov edx, dword [ebp - 0x24]
xor eax, eax
cmp edx, dword [ebp - 0x88]
sete al
movzx ecx, al
test ecx, ecx
je 0x417b19
mov edx, dword [ebp - 0x20]
mov dword [0x6dd4c8], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x28]
push ecx
push str.Goto_Label_error:_Label___s__does_not_exist_
push 0x6dd4cc
call fcn.00402b00
add esp, 0xc
mov dword [ebp - 0x90], 0x6dd4c8
push 0x6c3ea4
lea edx, [ebp - 0x90]
push edx
call fcn.00542ab6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00417c60
jmp 0x417bc5
lea ecx, [ebp - 0x28]
call fcn.00457c30
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 4]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x2c]
mov dword [edx], eax
jmp 0x4179da
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x1c4]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00417c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret