Function at 0x4cd684
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 8
call fcn.0050fbee
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x537293
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
push dword [ebp + 8]
call fcn.004cce5b
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004cdeb0
cwde
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x5a4d
jne 0x4cde50
push 0x3c
push dword [ebp - 4]
call fcn.004cd102
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.0040148c
mov dword [ebp - 0x10], eax
push 0
push dword [ebp - 0x10]
call fcn.004cd102
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4550
jne 0x4cde46
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x5dc426]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040148c
push eax
call fcn.004cdeb0
cwde
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10b
jne 0x4cd7aa
mov dword [ebp - 0x18], 0xf8
jmp 0x4cd7c1
cmp dword [ebp - 8], 0x20b
jne 0x4cd7c1
mov eax, 0xffffffff
jmp 0x4cde5a
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x54b0b6]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040148c
push eax
call fcn.004cdeb0
mov word [ebp - 0x1c], ax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.0040148c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x1c]
cwde
cmp eax, 0
jge 0x4cd82c
push 0x412
push 0x40169ca
push 0xa
call fcn.0050fc00
add esp, 0xc
mov dword [ebp - 0x38], eax
lea ebx, [ebp - 0x3c]
call fcn.0040208a
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0050fbee
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x38]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x24]
call fcn.0040208a
pop edx
test ecx, ecx
je 0x4cd891
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050fbf4
add esp, 4
pop ebx
call fcn.0050fbf4
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4cd86d
pop edx
pop edi
test edx, edx
je 0x4cd8e3
mov ebx, edi
push edx
push ebx
push 0x28
call fcn.0050fbee
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 0x10
call fcn.0050fbee
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5dc42e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x4cd89b
push dword [ebp - 0x24]
call fcn.0050fbf4
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4cdb04
mov ebx, dword [ebp - 0x24]
call fcn.0040208a
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4cd934
push 0x473
push 0x40169ca
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cd951
push 0x473
push 0x40169ca
push 1
call fcn.0050fc00
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
fild dword [ebp - 0x28]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x537400]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fmul qword [0x547634]
fstp qword [ebp - 0x50]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x60]
mov dword [ebp - 0x64], esp
push 0x28
fld qword [ebp - 0x60]
call fcn.0040148c
push eax
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
push eax
push 0x28
call fcn.0050fbee
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], eax
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x64], esp
je 0x4cda4c
push 0x4c7
push 0x40169ca
push 6
call fcn.0050fc00
add esp, 0xc
mov ebx, dword [ebp - 0x68]
push ebx
mov edi, dword [ebp - 0x6c]
push ebx
push edi
push 1
mov eax, 2
call fcn.00510a60
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4cda82
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4cda80
imul eax, dword [edi]
jmp 0x4cda75
mov ecx, eax
cmp ecx, 8
jle 0x4cda8c
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0050fbf4
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x4cd8ff
add esp, 0xc
mov ebx, dword [ebp - 0x24]
call fcn.0040208a
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
cwde
dec eax
jns 0x4cdb2f
push 0x539
push 0x40169ca
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cdb4c
push 0x539
push 0x40169ca
push 1
call fcn.0050fc00
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x24]
call fcn.0040208a
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
cwde
dec eax
jns 0x4cdb81
push 0x562
push 0x40169ca
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cdb9e
push 0x562
push 0x40169ca
push 1
call fcn.0050fc00
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.004cdecc
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x40]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.0040148c
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
call fcn.004cdf65
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], esp
lea eax, [ebp - 0x34]
push eax
push 0x1000
push dword [ebp - 4]
push dword [ebp - 0x30]
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4cdc22
push 0x5cf
push 0x40169ca
push 6
call fcn.0050fc00
add esp, 0xc
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 3
mov ebx, 0x914
call fcn.00511370
add esp, 0x28
fild dword [ebp - 0x30]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fadd qword [0x54764d]
fstp qword [ebp - 0x4c]
push 0x80000301
push 0
push 4
fld qword [ebp - 0x4c]
call fcn.0040148c
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 3
mov ebx, 0x914
call fcn.00511370
add esp, 0x28
mov eax, dword [ebp - 0x1c]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4cde3b
mov dword [ebp - 0x34], 0
mov ebx, dword [ebp - 0x24]
call fcn.0040208a
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4cdcf0
push 0x737
push 0x40169ca
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cdd0d
push 0x737
push 0x40169ca
push 1
call fcn.0050fc00
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x38], ebx
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x50]
mov ebx, dword [ebp - 0x24]
call fcn.0040208a
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4cdd58
push 0x768
push 0x40169ca
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cdd75
push 0x768
push 0x40169ca
push 1
call fcn.0050fc00
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x54], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x64]
fadd qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
mov ebx, dword [ebp - 0x24]
call fcn.0040208a
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4cddc0
push 0x768
push 0x40169ca
push 4
call fcn.0050fc00
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cdddd
push 0x768
push 0x40169ca
push 1
call fcn.0050fc00
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x70]
push dword [ebx]
fld qword [ebp - 0x6c]
call fcn.0040148c
push eax
fld qword [ebp - 0x50]
call fcn.0040148c
push eax
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
cmp dword [ebp - 0x74], esp
je 0x4cde33
push 0x768
push 0x40169ca
push 6
call fcn.0050fc00
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x4cdcb4
add esp, 0xc
mov eax, dword [ebp - 0x30]
jmp 0x4cde5a
mov eax, 0xffffffff
jmp 0x4cde5a
mov eax, 0xffffffff
jmp 0x4cde5a
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4cde79
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4cde75
imul eax, dword [ebx]
jmp 0x4cde6a
mov ecx, eax
test ecx, ecx
je 0x4cdea1
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050fbf4
add esp, 4
pop ebx
call fcn.0050fbf4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4cde7f
call fcn.0050fbf4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8