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

Disassembly:
push 0xffffffffffffffff
push 0x429dbf
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x431300]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x431300]
xor eax, esp
push eax
lea eax, [esp + 0x2f4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x304]
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edi, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x2fc], esi
cmp eax, esi
jne 0x406f3a
mov ecx, str.SD_Agent
jmp 0x406f6f
push 3
lea edx, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xa4], edx
call fcn.00409e70
mov byte [esp + 0x2fc], 1
mov ecx, dword [esp + 0x9c]
mov ebx, 1
mov dword [esp + 0x18], ebx
mov eax, ecx
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1bc], 0xf
mov byte [esp + 0x1a8], 0
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406f90
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x1ac]
call fcn.00410d00
mov dword [esp + 0x2fc], 3
test bl, 1
je 0x406fd9
mov eax, dword [esp + 0x9c]
and ebx, 0xfffffffe
lea ecx, [esp + 0xa0]
mov dword [esp + 0x18], ebx
cmp eax, ecx
je 0x406fd9
push eax
call fcn.0041245f
add esp, 4
push 3
lea edx, [esp + 0x128]
push edi
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.00409e70
mov byte [esp + 0x2fc], 4
mov edx, dword [esp + 0x120]
xor ebp, ebp
mov eax, edx
mov dword [esp + 0x1d8], 0xf
mov dword [esp + 0x1d4], ebp
mov byte [esp + 0x1c4], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407026
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x1c8]
call fcn.00410d00
mov byte [esp + 0x2fc], 6
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x407060
push eax
call fcn.0041245f
add esp, 4
push 0x18
call fcn.004122d6
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x2fc], 7
cmp esi, ebp
je 0x4070ba
cmp dword [esp + 0x1bc], 0x10
mov ecx, dword [esp + 0x1a8]
jae 0x407094
lea ecx, [esp + 0x1a8]
lea edx, [esp + 0x3c]
push edx
call fcn.00407600
lea eax, [esp + 0x3c]
push eax
or ebx, 2
mov byte [esp + 0x300], 8
push esi
mov dword [esp + 0x20], ebx
call fcn.00401180
jmp 0x4070bc
xor eax, eax
push eax
lea ecx, [esp + 0x1e0]
push ecx
mov dword [esp + 0x304], 9
call fcn.00401530
mov dword [esp + 0x2fc], 0xb
test bl, 2
je 0x407105
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407105
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffe00
and dword [esp + 0x64], eax
mov dword [esp + 0x68], ebp
and dword [esp + 0x94], eax
mov dword [esp + 0x98], ebp
mov byte [esp + 0x2fc], 0xf
mov ebx, dword [esp + 0x54]
and ebx, 0xfffffe06
or ebx, 6
push 0x20
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
call fcn.004122d6
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x2fc], 0x10
cmp esi, ebp
je 0x407161
push esi
call fcn.00408c40
jmp 0x407163
xor esi, esi
mov edi, esi
mov dword [esp + 0x4c], edi
push ebp
push ebp
mov byte [esp + 0x304], 0x11
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea esi, [esp + 0x40]
call fcn.004010c0
test eax, eax
jne 0x407195
call fcn.00406d50
mov ebx, 0x10
jmp 0x4074b1
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], ebp
je 0x4073c7
mov dword [esp + 0x1c], ebp
jmp 0x4071ce
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jb 0x4071d9
call fcn.00413544
mov eax, dword [esi + 0xc]
add eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x4071eb
mov eax, dword [eax + 4]
jmp 0x4071ee
add eax, 4
push 3
lea ecx, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xa4], ecx
call fcn.00409e70
mov byte [esp + 0x2fc], 0x12
mov ecx, dword [esp + 0x9c]
mov eax, ecx
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebp
mov byte [esp + 0x74], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407236
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.00410d00
mov byte [esp + 0x2fc], 0x13
mov edx, dword [esp + 0x2c]
and edx, 0xffffff04
or edx, 0x104
test byte [0x433fc4], 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebp
jne 0x407291
or dword [0x433fc4], 1
push 0x429f00
mov dword [0x433778], 0x42d2d0
call fcn.00412978
add esp, 4
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x4072a3
lea eax, [esp + 0x74]
mov esi, dword [esp + 0x84]
mov ecx, dword [0x432864]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x24], eax
movsx eax, bl
mov byte [esp + 0x2fc], 0x14
cmp eax, 7
ja case.0x4072cd.0
jmp dword [eax*4 + 0x4075d8]
cmp dword [edi + 0x1c], ebp
je case.0x4072cd.0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi]
lea esi, [esp + 0x44]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
call fcn.004094f0
mov eax, dword [esp + 0x44]
cmp eax, ebp
jne 0x407312
call fcn.00413544
xor eax, eax
mov esi, dword [esp + 0x48]
cmp esi, dword [eax + 0x18]
jne 0x40730c
call fcn.00413544
mov eax, dword [esi + 0x14]
inc eax
jmp 0x40731d
mov eax, dword [eax]
jmp 0x4072fe
mov eax, dword [edi + 0x1c]
jmp 0x40731d
xor eax, eax
push eax
lea ecx, [esp + 0x50]
call fcn.00405070
mov esi, eax
lea eax, [esp + 0x24]
call fcn.00404a70
lea ecx, [esp + 0x24]
mov byte [esp + 0x2fc], 0x13
call fcn.00404980
cmp dword [esp + 0x88], 0x10
jb 0x40735a
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004122a1
add esp, 4
mov byte [esp + 0x2fc], 0x11
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0xa0]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebp
mov byte [esp + 0x74], 0
cmp eax, edx
je 0x407394
push eax
call fcn.0041245f
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov esi, dword [esp + 0x18]
add dword [esp + 0x1c], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x18], esi
cmp esi, eax
jb 0x4071c2
mov eax, dword [esp + 0x1c4]
mov ebx, 0x10
cmp dword [esp + 0x1d8], ebx
jae 0x4073e3
lea eax, [esp + 0x1c4]
push eax
lea esi, [esp + 0x28]
call fcn.00404760
push str.file
lea ecx, [esp + 0x60]
mov byte [esp + 0x300], 0x15
call fcn.004053e0
mov esi, eax
lea eax, [esp + 0x24]
call fcn.00404a70
lea ecx, [esp + 0x24]
mov byte [esp + 0x2fc], 0x11
call fcn.00404980
push str.arguments
lea ecx, [esp + 0x60]
call fcn.004053e0
mov esi, eax
lea eax, [esp + 0x4c]
call fcn.00404a70
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x2c]
and ecx, 0xffffff01
or ecx, 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], eax
push 0x42d0b0
lea ecx, [esp + 0x60]
mov byte [esp + 0x300], 0x16
call fcn.004053e0
mov esi, eax
lea eax, [esp + 0x24]
call fcn.00404a70
lea ecx, [esp + 0x24]
mov byte [esp + 0x2fc], 0x11
call fcn.00404980
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x60]
push eax
push str.Execute
lea ecx, [esp + 0x1e8]
push ecx
call fcn.00401830
mov edi, 1
test eax, eax
jge 0x4074b5
mov edi, dword [esp + 0x38]
push edi
push str._SHIELDEX__AGTRES__result_d___
call fcn.00411140
push str._SHIELDEX__AGTRES__111111111111111111
call fcn.00411140
add esp, 0xc
push ebp
push ebp
push str._ClearIconCache
push str.ie4uinit.exe
push str.open
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2fc], 0xf
call fcn.00404980
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2fc], 0xd
call fcn.00404980
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2fc], 0xb
call fcn.00404980
lea esi, [esp + 0x1dc]
mov byte [esp + 0x2fc], 6
call fcn.004016d0
cmp dword [esp + 0x1d8], ebx
jb 0x407548
mov edx, dword [esp + 0x1c4]
push edx
call fcn.004122a1
add esp, 4
mov esi, 0xf
mov dword [esp + 0x1d8], esi
mov dword [esp + 0x1d4], ebp
mov byte [esp + 0x1c4], 0
cmp dword [esp + 0x1bc], ebx
jb 0x40757c
mov eax, dword [esp + 0x1a8]
push eax
call fcn.004122a1
add esp, 4
mov dword [esp + 0x2fc], 0xffffffff
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1bc], esi
mov dword [esp + 0x1b8], ebp
mov byte [esp + 0x1a8], 0
cmp eax, ebp
je 0x4075ad
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [esp + 0x2f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.004122ac
add esp, 0x2ec
ret