Function at 0x49fd30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x3154
call fcn.005d9990
mov eax, dword [0x6696c8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x4a045b
mov ebx, dword [ebp + 8]
cmp eax, ebx
je 0x49fd6a
mov eax, dword [eax + 0x1128]
cmp eax, edi
jne 0x49fd55
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x10ec], edi
jne 0x4a045b
mov esi, 1
push edi
mov dword [ebx + 0x10ec], esi
call fcn.005daa26
mov ecx, dword [ebx + 0x10f4]
add esp, 4
cmp eax, ecx
mov dword [ebx + 0x10f8], eax
jne 0x49fda1
inc ecx
mov dword [ebx + 0x10f8], ecx
cmp dword [ebx + 0x1034], 4
jne 0x49fe05
fld qword [ebx + 0x1068]
fcomp qword [0x5f56a0]
fnstsw ax
test ah, 1
jne 0x49fdd0
fld qword [ebx + 0x1050]
fcomp qword [ebx + 0x1068]
fnstsw ax
test ah, 1
je 0x49fde3
fld qword [ebx + 0x1068]
fcomp qword [0x5f56a0]
fnstsw ax
test ah, 5
jp 0x49fe05
mov dword [ebx + 0x1034], 9
mov dword [ebx + 0x103c], esi
mov dword [ebx + 0x1060], edi
mov dword [ebx + 0x1064], 0x40590000
jmp 0x49fe0b
mov dword [ebx + 0x1040], esi
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x49fe21
push eax
push esi
push esi
push esi
push esi
push ebx
call fcn.00572130
add esp, 0x18
mov eax, dword [ebx]
push eax
mov dword [ebx + 0x10d8], edi
mov dword [ebx + 0x10dc], 0xbff00000
call fcn.0058ea30
push eax
call fcn.0055f1c0
push ebx
call fcn.0049f220
mov ecx, dword [ebx]
add esp, 0xc
push edi
push ecx
call fcn.0058ea30
add esp, 4
push eax
call fcn.0056f5b0
fld qword [ebx + 0x1068]
fcomp qword [0x5f56a0]
add esp, 8
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov byte [esp + 0x1090], 0
fnstsw ax
mov byte [esp + 0x20f8], 0
test ah, 1
jne 0x49fee3
mov eax, dword [ebx + 0x10f4]
mov edx, dword [ebx + 0x10f8]
sub edx, eax
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fcomp qword [0x5f53e0]
fnstsw ax
test ah, 5
jp 0x49febf
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x3ff00000
push ebx
call fcn.0049ee80
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
push ecx
fdiv qword [esp + 0x18]
fstp qword [esp]
call fcn.0051c330
fstp qword [ebx + 0x1078]
add esp, 8
cmp dword [ebx + 0x103c], edi
mov eax, dword [ebx + 0x1030]
je 0x4a000c
cmp eax, 0xffffffff
je 0x49ff01
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x1030], 0xffffffff
cmp dword [0x68758c], edi
je 0x49ff41
lea eax, [esp + 0x18]
push eax
push esi
push 0x19
push str.FILERCVD
push ebx
call fcn.0049f490
mov edx, eax
push ebx
mov dword [esp + 0x34], edx
call fcn.0049ee50
add esp, 0x18
test eax, eax
je 0x4a045b
cmp edx, edi
je 0x49ff9e
push ebx
call fcn.0049f0f0
mov eax, dword [0x61830c]
add esp, 4
cmp eax, edi
je 0x49ff73
push edi
call fcn.00414bf0
add esp, 4
test eax, eax
je 0x49ff73
mov ecx, dword [ebx + 0x1124]
push ebx
push ecx
push 0x1e
push edi
call fcn.004173c0
add esp, 0x10
cmp dword [0x6988ac], edi
je 0x49ff9e
push edi
call fcn.00577050
add esp, 4
test eax, eax
je 0x49ff9e
mov edx, dword [ebx]
mov eax, dword [ebx + 0x1124]
push edx
push ebx
push eax
push 0x1e
push edi
call fcn.00577910
add esp, 0x14
cmp dword [0x68758c], edi
je 0x49ffca
lea ecx, [esp + 0x18]
push ecx
push edi
push 0x19
push str.FILERCVD
push ebx
call fcn.0049f490
push ebx
call fcn.0049ee50
add esp, 0x18
test eax, eax
je 0x4a045b
push 0
push 1
lea edx, [esp + 0x1098]
push edx
lea edi, [ebx + 0x7cc]
push edi
call fcn.0048d300
push edi
lea esi, [ebx + 0x39a]
push esi
lea eax, [esp + 0x2110]
push 0x5f4a5c
push eax
call fcn.005d9929
push esi
call fcn.004f6180
add esp, 0x24
xor edi, edi
jmp 0x4a00e1
cmp eax, 0xffffffff
je 0x4a0018
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x1030], 0xffffffff
cmp dword [0x68758c], edi
je 0x4a0058
lea ecx, [esp + 0x18]
push ecx
push esi
push 0x1b
push str.GETFAIL
push ebx
call fcn.0049f490
mov edx, eax
push ebx
mov dword [esp + 0x34], edx
call fcn.0049ee50
add esp, 0x18
test eax, eax
je 0x4a045b
cmp edx, edi
je 0x4a00b5
push ebx
call fcn.0049f0f0
mov eax, dword [0x61830c]
add esp, 4
cmp eax, edi
je 0x4a008a
push edi
call fcn.00414bf0
add esp, 4
test eax, eax
je 0x4a008a
mov edx, dword [ebx + 0x1124]
push ebx
push edx
push 0x1d
push edi
call fcn.004173c0
add esp, 0x10
cmp dword [0x6988ac], edi
je 0x4a00b5
push edi
call fcn.00577050
add esp, 4
test eax, eax
je 0x4a00b5
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x1124]
push eax
push ebx
push ecx
push 0x1d
push edi
call fcn.00577910
add esp, 0x14
cmp dword [0x68758c], edi
je 0x4a00e1
lea edx, [esp + 0x18]
push edx
push edi
push 0x1b
push str.GETFAIL
push ebx
call fcn.0049f490
push ebx
call fcn.0049ee50
add esp, 0x18
test eax, eax
je 0x4a045b
mov eax, dword [ebx + 0x1124]
mov esi, dword [ebx]
push eax
mov dword [esp + 0x24], esi
call fcn.00508aa0
add esp, 4
test eax, eax
je 0x4a0106
mov ecx, dword [ebx + 0x1124]
mov esi, dword [ecx]
mov dword [esp + 0x20], esi
cmp dword [ebx + 0x103c], edi
lea edx, [ebx + 4]
push edx
je 0x4a0121
lea eax, [ebx + 0x7cc]
push eax
push edi
push 0xb6b
jmp 0x4a0150
mov eax, dword [ebx + 0x1034]
cmp eax, 5
jne 0x4a013e
lea eax, [ebx + 0x7cc]
push eax
push edi
push 0x1008
jmp 0x4a01cb
cmp eax, 4
lea eax, [ebx + 0x7cc]
push eax
push edi
jne 0x4a01c6
push 0xb68
call fcn.00424130
add esp, 8
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.005d9929
lea edi, [esp + 0x38]
add esp, 0x10
dec edi
jmp 0x4a0170
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a0170
mov dx, word [0x5f4c98]
mov al, byte [0x5f4c9a]
mov word [edi], dx
mov byte [edi + 2], al
mov eax, dword [ebx + 0x10f4]
test eax, eax
jle 0x4a0246
mov ecx, dword [ebx + 0x10f8]
sub ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fcomp qword [0x5f53e0]
fnstsw ax
test ah, 5
jp 0x4a01e6
xor ecx, ecx
mov eax, 0x3ff00000
jmp 0x4a01ee
push 0xb69
call fcn.00424130
add esp, 8
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.005d9929
add esp, 0x10
jmp 0x4a02b4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 1
push eax
push ecx
push 0x5f4c90
call fcn.00563e40
add esp, 0x10
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a0201
lea edi, [esp + 0x28]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4a0210
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x28]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a0230
mov dx, word [0x5f4858]
mov esi, dword [esp + 0x20]
mov word [edi], dx
lea eax, [esp + 0x28]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a0250
mov ecx, dword [ebx + 0x107c]
push 1
push 1
push 0
push 1
sub eax, edx
mov edx, dword [ebx + 0x1078]
push 1
lea eax, [esp + eax + 0x3c]
push eax
push ecx
push edx
call fcn.0051d870
lea edi, [esp + 0x48]
add esp, 0x20
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a0283
mov eax, dword [0x5f8d98]
mov cl, byte [0x5f8d9c]
mov dword [edi], eax
mov byte [edi + 4], cl
lea edi, [esp + 0x28]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a02a0
mov dx, word [0x5f4c94]
mov word [edi], dx
xor edi, edi
cmp dword [esp + 0x1c], edi
je 0x4a02f7
mov eax, dword [0x63ca9c]
push eax
push esi
call fcn.0052dc60
mov ecx, dword [0x63ca98]
push ecx
lea edx, [esp + 0x34]
push edx
push esi
mov dword [0x6870cc], edi
mov dword [0x6870dc], 1
call fcn.0052ddc0
mov eax, dword [0x63ca9c]
push eax
push esi
call fcn.0052dc60
add esp, 0x1c
mov edi, dword [ebx + 0x1124]
push edi
call fcn.00508aa0
add esp, 4
test eax, eax
je 0x4a030c
mov esi, dword [edi]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4a032e
mov eax, dword [ebx + 0x10f0]
test eax, eax
je 0x4a032e
mov ecx, dword [ebx]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4a0386
mov eax, dword [ebx + 0x103c]
test eax, eax
push 0
je 0x4a0341
push 0xb6a
jmp 0x4a0364
mov eax, dword [ebx + 0x1034]
cmp eax, 4
jne 0x4a0353
push 0xb67
jmp 0x4a0364
cmp eax, 5
jne 0x4a035f
push 0x1009
jmp 0x4a0364
push 0xb60
call fcn.00424130
add esp, 8
push eax
push 1
push 1
push 1
push 1
push ebx
call fcn.00572130
push 1
push ebx
call fcn.0049f510
add esp, 0x20
push ebx
call fcn.0049ee50
add esp, 4
test eax, eax
je 0x4a039b
mov esi, dword [ebx]
mov edi, dword [ebx + 0x1124]
mov al, byte [esp + 0x1090]
test al, al
je 0x4a045b
cmp al, 0x2f
je 0x4a043b
cmp al, byte [0x61a5c0]
je 0x4a043b
mov ecx, dword [0x6a0f40]
push 5
push 0x66c330
lea edx, [esp + 0x2100]
push edx
lea eax, [esp + 0x109c]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x4a045b
lea edx, [esp + 0x1090]
push edx
push 0
push 0xb6c
mov dword [0x6870cc], 0
mov dword [0x6870dc], 1
call fcn.00424130
add esp, 8
push eax
lea eax, [esp + 0x30]
push eax
call fcn.005d9929
mov ecx, dword [0x63ca9c]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
call fcn.0052eb30
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
push 1
lea eax, [esp + 0x2108]
push eax
lea ecx, [esp + 0x10a4]
push ecx
push esi
call fcn.00448030
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret