Function at 0x404980
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x434895
push eax
mov dword fs:[0], esp
sub esp, 0x8f4
push ebx
push ebp
mov ebp, dword [esp + 0x90c]
push esi
xor esi, esi
push edi
cmp ebp, esi
je 0x404f16
cmp byte [ebp], 0
je 0x404f16
mov al, byte [esp + 0x12]
push esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], al
call fcn.00401d50
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x50]
call fcn.00402160
mov cl, byte [esp + 0x12]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov dword [esp + 0x910], esi
call fcn.00401d50
mov edi, 0x4421f0
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x90c], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x4421f0
lea ecx, [esp + 0x54]
call fcn.00403da0
cmp eax, esi
jle 0x404a66
push eax
lea edx, [esp + 0x3c]
push esi
push edx
lea ecx, [esp + 0x54]
call fcn.00405380
mov ecx, dword [0x4375d4]
mov byte [esp + 0x90c], 2
push ecx
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00401b50
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x910], 1
call fcn.00401d50
jmp 0x404a7c
mov edx, dword [0x4375d4]
lea eax, [esp + 0x48]
push edx
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00401b50
lea ecx, [esp + 0x14]
call fcn.004056d0
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
call fcn.00401840
cmp edi, eax
je 0x404ab2
mov al, byte [edi]
cmp al, 0x41
jl 0x404aa4
cmp al, 0x5a
jg 0x404aa4
add al, 0x20
mov byte [edi], al
lea ecx, [esp + 0x14]
inc edi
call fcn.00401840
cmp edi, eax
jne 0x404a96
push str.http
lea ecx, [esp + 0x18]
call fcn.00405790
test eax, eax
jne 0x404e6f
lea ecx, [esp + 0x12]
push ecx
lea ecx, [esp + 0xb8]
call fcn.004052a0
lea edx, [esp + 0x26]
lea ecx, [esp + 0xc8]
push edx
mov byte [esp + 0x910], 3
call fcn.004018d0
lea eax, [esp + 0x27]
lea ecx, [esp + 0x13]
push eax
push ecx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x914], 4
call fcn.00401960
mov edx, str.htmlfile_shellopencommand
mov byte [esp + 0x90c], 5
test edx, edx
mov dword [esp + 0xc4], 0x80000000
je 0x404b46
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0xbc]
call fcn.00402160
cmp dword [esp + 0xbc], esi
jne 0x404b70
mov edi, str.SoftwareAppConfig
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.SoftwareAppConfig
lea ecx, [esp + 0xbc]
call fcn.00402160
lea ecx, [esp + 0xb4]
call fcn.00401840
cmp byte [eax - 1], 0x5c
je 0x404ba3
mov edi, 0x4420e0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4420e0
lea ecx, [esp + 0xbc]
call fcn.004020a0
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x910], 6
mov byte [esp + 0x2c], al
call fcn.00401d50
lea ecx, [esp + 0x4f4]
mov bl, 7
push ecx
push 0x4467b0
push 0x4467b0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x918], bl
call fcn.00401260
test al, al
je 0x404de7
mov edx, dword [esp + 0x900]
lea eax, [esp + 0x4f4]
neg edx
sbb edx, edx
or ecx, 0xffffffff
not edx
and edx, eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00402160
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00405040
mov edx, dword [0x4375d4]
lea ecx, [esp + 0x28]
push edx
push esi
push eax
mov byte [esp + 0x918], 8
call fcn.00401b50
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x910], bl
call fcn.00401d50
lea eax, [esp + 0x58]
lea ecx, [esp + 0x28]
push eax
call fcn.00404f40
mov ecx, dword [0x4375d4]
mov byte [esp + 0x90c], 9
push ecx
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.00401b50
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x910], bl
call fcn.00401d50
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x78], esp
push 0
mov ecx, esi
mov byte [esi], dl
call fcn.00401d50
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
mov ecx, esi
call fcn.00402160
sub esp, 0x10
lea eax, [esp + 0x45]
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
push 0x4421c8
mov byte [esp + 0x934], 0xa
call fcn.004052c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x92c], bl
call fcn.00405120
test eax, eax
jne 0x404d24
mov edi, 0x4421c4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4421c4
lea ecx, [esp + 0x30]
call fcn.004020a0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x30]
call fcn.004020a0
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x70], 0x44
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
test eax, eax
mov dword [esp + 0x44], ecx
jne 0x404d58
mov eax, 0x4375d0
lea edx, [esp + 0x38]
lea ecx, [esp + 0x70]
push edx
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x404de5
mov edx, dword [esp + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x3c]
push eax
call esi
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x910], 6
call fcn.00401d50
lea ecx, [esp + 0xd4]
mov byte [esp + 0x90c], 0xc
call fcn.00401a20
lea ecx, [esp + 0xc8]
mov byte [esp + 0x90c], 0xb
call fcn.00401900
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x910], 1
call fcn.00401d50
jmp 0x404ea6
xor esi, esi
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x910], 6
call fcn.00401d50
lea ecx, [esp + 0xd4]
mov byte [esp + 0x90c], 0xe
call fcn.00401a20
lea ecx, [esp + 0xc8]
mov byte [esp + 0x90c], 0xd
call fcn.00401900
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x910], 1
call fcn.00401d50
mov ecx, dword [esp + 0x918]
push ecx
push esi
push esi
push ebp
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x18]
mov edi, eax
cmp ecx, esi
je 0x404ee0
mov al, byte [ecx - 1]
test al, al
je 0x404ed6
cmp al, 0xff
je 0x404ed6
dec al
mov byte [ecx - 1], al
jmp 0x404ee0
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x404e7c
mov eax, 0x4375d0
push eax
call fcn.0041a2cb
mov edi, eax
add esp, 4
cmp edi, esi
je 0x404e38
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x404e38
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x910], 0
call fcn.00401d50
push 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x910], 0xffffffff
call fcn.00401d50
mov eax, 0x21
jmp 0x404f18
dec ecx
push ecx
call fcn.0042912a
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], esi
cmp ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x404f12
mov al, byte [ecx - 1]
test al, al
je 0x404f08
cmp al, 0xff
je 0x404f08
dec al
mov byte [ecx - 1], al
mov eax, edi
jmp 0x404f18
dec ecx
push ecx
call fcn.0042912a
add esp, 4
mov eax, edi
jmp 0x404f18
xor eax, eax
mov ecx, dword [esp + 0x904]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x900
ret