Function at 0x402f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53f02d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a8
push ebx
push ebp
push edi
mov ebx, ecx
or edi, 0xffffffff
xor ebp, ebp
push edi
lea ecx, [ebx + 0x7c]
push ebp
mov dword [esp + 0x50], ebx
call fcn.004056e0
lea ecx, [esp + 0x10]
call fcn.0044aa00
lea ecx, [esp + 0x24]
mov dword [esp + 0x4bc], ebp
call fcn.0044aa00
lea ecx, [esp + 0x50]
mov byte [esp + 0x4bc], 1
call fcn.004418a0
mov eax, dword [str.Applications]
push 0x20019
push eax
push SysReAllocStringLen
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c8], 2
call fcn.0044ab70
test eax, eax
je 0x403041
call fcn.0044d960
test eax, eax
je 0x402ff6
mov ecx, dword [str.SOFTWARECLASSESLocal_SettingsSOFTWAREMICROSOFTWINDOWSShellMUICache]
push 0x20019
push ecx
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x30]
call fcn.0044ab70
test eax, eax
jne 0x40307a
mov ecx, ebx
call fcn.00405530
mov edx, dword [str.SOFTWARECLASSESLocal_SettingsSOFTWAREMICROSOFTWINDOWSShellMUICache]
push 0x20019
push edx
jmp 0x40302f
call fcn.0044d8b0
test eax, eax
je 0x40307a
mov eax, dword [str.SOFTWAREMICROSOFTWINDOWSShellNoRoamMUICache]
push 0x20019
push eax
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x30]
call fcn.0044ab70
test eax, eax
jne 0x40307a
mov ecx, ebx
call fcn.00405530
mov ecx, dword [str.SOFTWAREMICROSOFTWINDOWSShellNoRoamMUICache]
push 0x20019
push ecx
push reloc.WS2_32.dll_accept
lea ecx, [esp + 0x30]
call fcn.0044ab70
test eax, eax
jne 0x40307a
lea ecx, [esp + 0x50]
mov byte [esp + 0x4bc], 1
call fcn.004418b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x4bc], 0
call fcn.0044aaf0
lea ecx, [esp + 0x10]
mov dword [esp + 0x4bc], edi
call fcn.0044aaf0
xor eax, eax
jmp 0x4039ec
lea edx, [esp + 0x50]
lea ecx, [esp + 0x10]
push edx
call fcn.0044c8e0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x60], ebp
cmp eax, ebp
jle 0x4039a3
push esi
lea eax, [esp + 0x44]
push ebp
push eax
lea ecx, [esp + 0x5c]
call fcn.00402220
lea ecx, [esp + 0x3c]
push ebp
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4c8], 3
call fcn.00402220
lea edx, [esp + 0x34]
push ebp
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4c8], 4
call fcn.00402220
push str._shellopencommand
lea ecx, [esp + 0x48]
mov byte [esp + 0x4c4], 5
call fcn.0043cbd0
push str._shellReadcommand
lea ecx, [esp + 0x40]
call fcn.0043cbd0
push str._shelleditcommand
lea ecx, [esp + 0x38]
call fcn.0043cbd0
lea ecx, [esp + 0x88]
call fcn.004418a0
push 0x589b18
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c4], 6
call fcn.0043b7e0
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x88]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c8], 7
call fcn.0044c9d0
test eax, eax
je 0x403194
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x403194
mov edx, dword [esp + 0x44]
push 0
push 0x589b18
lea eax, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.0044b010
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c4], 8
call fcn.0043cc30
mov byte [esp + 0x4c0], 7
lea ecx, [esp + 0x6c]
jmp 0x4033b8
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x88]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0044c9d0
test eax, eax
je 0x4031fc
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4031fc
mov eax, dword [esp + 0x3c]
push 0
push 0x589b18
lea ecx, [esp + 0xa0]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0044b010
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c4], 9
call fcn.0043cc30
mov byte [esp + 0x4c0], 7
lea ecx, [esp + 0x98]
jmp 0x4033b8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x88]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0044c9d0
test eax, eax
je 0x40325e
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x40325e
mov ecx, dword [esp + 0x34]
push 0
push 0x589b18
lea edx, [esp + 0x70]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0044b010
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c4], 0xa
call fcn.0043cc30
mov byte [esp + 0x4c0], 7
lea ecx, [esp + 0x68]
jmp 0x4033b8
lea eax, [esp + 0x38]
push ebp
push eax
lea ecx, [esp + 0x5c]
call fcn.00402220
push 0x56f9e8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4c4], 0xb
call fcn.0043cbd0
lea ecx, [esp + 0xa0]
call fcn.004418a0
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0xa0]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c8], 0xc
call fcn.0044c7a0
mov eax, dword [esp + 0xa4]
xor esi, esi
test eax, eax
jle 0x403398
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
call fcn.0043b580
push 0x56f9e4
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c4], 0xd
call fcn.0043cbd0
lea ecx, [esp + 0x70]
push esi
push ecx
lea ecx, [esp + 0xa8]
call fcn.00402220
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c4], 0xe
call fcn.0043cc30
lea ecx, [esp + 0x70]
mov byte [esp + 0x4c0], 0xd
call fcn.0043bf80
push str.command
lea ecx, [esp + 0x28]
call fcn.0043cbd0
mov edx, dword [esp + 0x24]
push 0
push 0x589b18
lea eax, [esp + 0x80]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.0044b010
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c4], 0xf
call fcn.0043cc30
lea ecx, [esp + 0x78]
mov byte [esp + 0x4c0], 0xd
call fcn.0043bf80
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x4c0], 0xc
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x24]
test eax, eax
jne 0x403393
call fcn.0043bf80
mov eax, dword [esp + 0xa4]
inc esi
cmp esi, eax
jl 0x4032be
jmp 0x403398
call fcn.0043bf80
lea ecx, [esp + 0xa0]
mov byte [esp + 0x4c0], 0xb
call fcn.004418b0
mov byte [esp + 0x4c0], 7
lea ecx, [esp + 0x38]
call fcn.0043bf80
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
call fcn.00402b40
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x403939
mov ecx, dword [0x56f68c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0043d160
cmp eax, edi
jne 0x403939
push 0x589b18
lea ecx, [esp + 0x24]
call fcn.0043b7e0
mov byte [esp + 0x4c0], 0x10
call fcn.0044d850
test eax, eax
jne 0x40349b
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.0044b1a0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x4c0], 0x11
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40347c
mov ecx, ebx
call fcn.00405530
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x80]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.0044b1a0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x4c4], 0x12
call fcn.0043c110
lea ecx, [esp + 0x80]
mov byte [esp + 0x4c0], 0x11
call fcn.0043bf80
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x24]
call fcn.0043cc30
mov byte [esp + 0x4c0], 0x10
lea ecx, [esp + 0x40]
jmp 0x403583
lea edx, [esp + 0x74]
push ebp
push edx
lea ecx, [esp + 0x5c]
call fcn.00402220
mov eax, dword [eax]
push 0
push str.FriendlyAppName
push eax
lea eax, [esp + 0x90]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x4d0], 0x13
call fcn.0044b010
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c4], 0x14
call fcn.0043cc30
lea ecx, [esp + 0x84]
mov byte [esp + 0x4c0], 0x13
call fcn.0043bf80
lea ecx, [esp + 0x74]
mov byte [esp + 0x4c0], 0x10
call fcn.0043bf80
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x403588
lea edx, [esp + 0x48]
push ebp
push edx
lea ecx, [esp + 0x5c]
call fcn.00402220
push 0x56f9e8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c4], 0x15
call fcn.0043cbd0
mov eax, dword [esp + 0x48]
push 0
push str.FriendlyCache
lea ecx, [esp + 0xa4]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0044b010
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c4], 0x16
call fcn.0043cc30
lea ecx, [esp + 0x9c]
mov byte [esp + 0x4c0], 0x15
call fcn.0043bf80
mov byte [esp + 0x4c0], 0x10
lea ecx, [esp + 0x48]
call fcn.0043bf80
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 8]
test eax, eax
je 0x403928
mov ecx, 0x101
xor eax, eax
lea edi, [esp + 0xb2]
mov word [esp + 0xb0], 0
rep stosd dword es:[edi], eax
push 0x7f
push edx
lea edx, [esp + 0x1b8]
push edx
stosw word es:[edi], ax
call fcn.00422f84
add esp, 0xc
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x54]
push ebp
push eax
call fcn.00402220
mov eax, dword [eax]
push 0x7f
lea ecx, [esp + 0xb4]
push eax
push ecx
call fcn.00422f84
add esp, 0xc
lea ecx, [esp + 0x7c]
call fcn.0043bf80
mov edx, dword [esp + 0x10]
push 0x103
lea eax, [esp + 0x2b4]
push edx
push eax
call fcn.00422f84
mov eax, dword [ebx + 0x80]
lea esi, [ebx + 0x7c]
mov ebp, eax
add esp, 0xc
mov ecx, dword [esi]
mov dword [esp + 0x50], ebp
inc ebp
test ebp, ebp
jne 0x403647
test ecx, ecx
je 0x40363a
push ecx
mov dword [esp + 0x34], eax
call fcn.00526473
add esp, 4
mov dword [esi], 0
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
jmp 0x40378d
test ecx, ecx
jne 0x403681
mov edi, ebp
shl edi, 7
add edi, ebp
shl edi, 3
push edi
call fcn.0052644a
mov edx, eax
mov ecx, edi
mov dword [esi], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
jmp 0x40378d
mov edi, dword [esi + 8]
cmp ebp, edi
jg 0x4036cc
cmp eax, ebp
jge 0x4036bc
mov edi, eax
mov edx, ebp
shl edi, 7
add edi, eax
sub edx, eax
xor eax, eax
lea edi, [ecx + edi*8]
mov ecx, edx
shl ecx, 7
add ecx, edx
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 4], ebp
jmp 0x40378d
jle 0x4036c4
sub eax, ebp
mov dword [esp + 0x30], eax
mov dword [esi + 4], ebp
jmp 0x40378d
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4036f7
cdq
and edx, 7
add eax, edx
mov esi, eax
sar esi, 3
cmp esi, 4
jge 0x4036ea
mov esi, 4
jmp 0x4036f7
cmp esi, 0x400
jle 0x4036f7
mov esi, 0x400
lea eax, [edi + esi]
cmp ebp, eax
jge 0x403704
mov dword [esp + 0x1c], eax
jmp 0x40370a
mov dword [esp + 0x1c], ebp
mov eax, ebp
mov ecx, eax
shl ecx, 7
add ecx, eax
shl ecx, 3
push ecx
call fcn.0052644a
mov edx, dword [esp + 0x50]
mov ebx, eax
add edx, 0x7c
mov edi, ebx
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov ecx, eax
shl ecx, 7
add ecx, eax
shl ecx, 3
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 4]
mov esi, ecx
sub eax, ecx
shl esi, 7
add esi, ecx
mov ecx, eax
shl ecx, 7
add ecx, eax
lea edi, [ebx + esi*8]
shl ecx, 3
mov esi, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [edx]
push edx
call fcn.00526473
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
add esp, 8
lea eax, [ecx + 0x7c]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov ebx, ecx
mov eax, dword [esp + 0x50]
mov edx, dword [ebx + 0x7c]
mov ecx, eax
lea esi, [esp + 0xb0]
shl ecx, 7
add ecx, eax
lea edi, [edx + ecx*8]
mov ecx, 0x102
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0xa0]
mov eax, dword [ebx + 0x9c]
mov esi, edx
xor edi, edi
mov dword [esp + 0x30], esi
lea ebp, [esi + 1]
cmp ebp, edi
jne 0x4037ef
cmp eax, edi
je 0x4037de
push eax
mov dword [esp + 0x34], edx
call fcn.00526473
add esp, 4
mov dword [ebx + 0x9c], edi
mov dword [ebx + 0xa4], edi
mov dword [ebx + 0xa0], edi
jmp 0x403914
cmp eax, edi
jne 0x403830
lea edi, [ebp*4]
push edi
call fcn.0052644a
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x9c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xa4], ebp
mov dword [ebx + 0xa0], ebp
jmp 0x403914
mov ecx, dword [ebx + 0xa4]
cmp ebp, ecx
jg 0x403867
cmp edx, ebp
jge 0x403854
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0xa0], ebp
jmp 0x403914
jle 0x40385c
sub edx, ebp
mov dword [esp + 0x30], edx
mov dword [ebx + 0xa0], ebp
jmp 0x403914
mov eax, dword [ebx + 0xa8]
cmp eax, edi
jne 0x403894
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x403888
mov eax, 4
jmp 0x403894
cmp eax, 0x400
jle 0x403894
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x1c], eax
jl 0x4038a2
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
push ecx
call fcn.0052644a
mov ecx, dword [ebx + 0xa0]
mov esi, dword [ebx + 0x9c]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x54], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0xa0]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x9c]
push eax
call fcn.00526473
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
add esp, 8
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa0], ebp
mov dword [ebx + 0xa4], ecx
mov edx, dword [ebx + 0x9c]
mov ebp, dword [esp + 0x64]
or edi, 0xffffffff
mov dword [edx + esi*4], 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c0], 7
call fcn.0043bf80
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c0], 6
call fcn.0043bf80
lea ecx, [esp + 0x88]
mov byte [esp + 0x4c0], 5
call fcn.004418b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c0], 4
call fcn.0043bf80
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4c0], 3
call fcn.0043bf80
lea ecx, [esp + 0x44]
mov byte [esp + 0x4c0], 2
call fcn.0043bf80
mov eax, dword [esp + 0x58]
inc ebp
cmp ebp, eax
mov dword [esp + 0x64], ebp
jl 0x403099
pop esi
lea ecx, [esp + 0x24]
call fcn.0044abc0
lea ecx, [esp + 0x10]
call fcn.0044abc0
lea ecx, [esp + 0x50]
mov byte [esp + 0x4bc], 1
call fcn.004418b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x4bc], 0
call fcn.0044aaf0
lea ecx, [esp + 0x10]
mov dword [esp + 0x4bc], edi
call fcn.0044aaf0
mov eax, 1
mov ecx, dword [esp + 0x4b4]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4b4
ret