Function at 0x405320
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46025b
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x47ccc0]
xor eax, ebp
mov dword [ebp - 0x60], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2fc], ecx
call fcn.0042aa20
push eax
lea ecx, [ebp - 0x5c]
call fcn.00405d10
mov dword [ebp - 4], 0
push 0
push 0
push 0x110a
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x274]
push edx
mov ecx, dword [ebp - 0x2fc]
call fcn.00404e10
cmp eax, 1
jne 0x4054d4
mov eax, dword [ebp - 0x2fc]
cmp dword [eax + 0x6c], 0
jne 0x4053ce
push 0
push 9
push 0x110a
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x2fc]
mov dword [ecx + 0x68], eax
mov edx, dword [ebp - 0x2fc]
mov eax, dword [edx + 0x68]
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, dword [ebp - 0x2fc]
call fcn.00404860
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x27c], edx
push 0x5c
mov eax, dword [ebp - 0x27c]
push eax
call fcn.00446ea5
add esp, 8
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
jne 0x405426
mov dword [ebp - 0x300], 0xffffffff
jmp 0x405438
mov ecx, dword [ebp - 0x278]
sub ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x300], ecx
mov edx, dword [ebp - 0x300]
mov dword [ebp - 0x250], edx
cmp dword [ebp - 0x250], 0xffffffff
jle 0x4054b6
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp - 0x250]
add edx, 1
mov eax, dword [ebp - 0x280]
sub eax, edx
push eax
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.00405aa0
mov dword [ebp - 0x304], eax
mov edx, dword [ebp - 0x304]
mov dword [ebp - 0x284], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x284]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004068b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.00406870
jmp 0x4054c5
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004068b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.00406870
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
jle 0x4054fb
push 0
lea ecx, [ebp - 0x5c]
call fcn.00406970
mov dword [ebp - 0x308], eax
jmp 0x405505
mov dword [ebp - 0x308], 0
push 1
push 0
push 0
push str.XML_Files__.xml_.xmlAll_Files__._.
push 4
mov ecx, dword [ebp - 0x308]
push ecx
push 0x4654d4
push 0
lea ecx, [ebp - 0x244]
call fcn.0042bb24
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x244]
call fcn.0042c30c
cmp eax, 1
je 0x405562
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.0042b96c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00406870
jmp 0x4058de
push 0
push 0
push 0x110a
mov edx, dword [ebp - 0x2fc]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
push ecx
mov ecx, dword [ebp - 0x2fc]
call fcn.00404e10
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x248], 1
jne 0x4055b7
mov edx, dword [ebp - 0x2fc]
mov eax, dword [edx + 0x68]
mov dword [ebp - 0x54], eax
jmp 0x4055fc
mov ecx, dword [ebp - 0x2fc]
call fcn.00404c60
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4055fc
push 0
push 0
push str.Please_select_a_tree_item_before
call fcn.00421a14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.0042b96c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00406870
jmp 0x4058de
lea ecx, [ebp - 0x24]
call fcn.0040f5d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x244]
call fcn.0042c438
mov dword [ebp - 0x30c], eax
mov edx, dword [ebp - 0x30c]
mov dword [ebp - 0x310], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x310]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040f780
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
call fcn.00406870
push str.registry
lea ecx, [ebp - 0x25c]
call fcn.00406510
mov dword [ebp - 0x314], eax
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x318], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x318]
push edx
lea ecx, [ebp - 0x50]
call fcn.0040fb50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x25c]
call fcn.00406870
cmp dword [ebp + 8], 0
je 0x405757
push str.registry
lea ecx, [ebp - 0x260]
call fcn.00406510
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x320], eax
mov byte [ebp - 4], 9
push 0x4654a0
lea ecx, [ebp - 0x264]
call fcn.00406510
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x328], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x320]
push edx
mov eax, dword [ebp - 0x328]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.00405b50
add esp, 0xc
mov dword [ebp - 0x32c], eax
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x330], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x330]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040fbd0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x268]
call fcn.00406870
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x264]
call fcn.00406870
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x260]
call fcn.00406870
push 1
push 1
push 1
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0040fd30
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0
jle 0x405811
cmp dword [ebp - 0x54], 0
je 0x405811
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, dword [ebp - 0x2fc]
call fcn.00404860
mov dword [ebp - 0x334], eax
mov edx, dword [ebp - 0x334]
mov dword [ebp - 0x338], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x338]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00409bb0
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x26c]
call fcn.00406870
cmp dword [ebp - 0x248], 1
je 0x405803
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x2fc]
call fcn.00404d40
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x58]
sub ecx, 1
mov dword [ebp - 0x58], ecx
jmp 0x405786
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 1
push 1
push 0xffffffffffffffff
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x50]
call fcn.00410600
lea ecx, [ebp - 0x24]
call fcn.0040faa0
cmp dword [ebp + 8], 0
jne 0x405890
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x244]
call fcn.0042c438
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp - 0x2e8]
mov edx, dword [ecx]
mov dword [ebp - 0x2ec], edx
push 5
push 0
push 0
mov eax, dword [ebp - 0x2ec]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x270]
call fcn.00406870
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x38]
call fcn.0042b0cd
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4c]
call fcn.0042b0cd
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00406870
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.0040f6b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.0042b96c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00406870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x60]
xor ecx, ebp
call fcn.004461d3
mov esp, ebp
pop ebp
ret 4