Function at 0x405633
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc88
mov eax, dword [0x43a034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
movzx esi, ax
push esi
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x58
mov dword [ebp - 0xc2c], eax
lea eax, [ebp - 0xc88]
push 0
push eax
call fcn.004158b0
mov eax, 0x402
mov dword [ebp - 0xc88], 0x58
add esp, 0xc
mov dword [ebp - 0xc84], edi
mov dword [ebp - 0xc70], 1
mov ecx, 0x104
mov dword [ebp - 0xc68], ecx
cmp esi, eax
jg 0x405a2b
je 0x405a07
sub esi, 0xa8
je 0x405abe
sub esi, 0x355
je 0x405954
dec esi
je 0x405880
dec esi
je 0x405801
dec esi
je 0x40579d
dec esi
jne 0x405bde
xor eax, eax
mov dword [ebp - 0xc7c], str.Icon_files__.ico_
mov word [ebp - 0x218], ax
mov esi, 0x43d298
lea eax, [ebp - 0x218]
mov dword [ebp - 0xc4c], 0x432e0c
mov dword [ebp - 0xc6c], eax
lea eax, [ebp - 0xc88]
push eax
mov dword [ebp - 0xc5c], esi
mov dword [ebp - 0xc54], 0x1804
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
cmp eax, 1
jne 0x405bd2
lea eax, [ebp - 0x218]
push eax
push 0x404
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00413d5d
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00413fcb
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.00413f9c
lea eax, [ebp - 0x218]
push eax
push 0x43d4a0
call fcn.00413fcb
add esp, 0x18
jmp 0x405bd2
mov byte [0x43e513], 1
call fcn.00405bf0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x404
push dword [0x43ce50]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 0
push 0x401
push dword [0x43ce50]
call edi
push eax
call esi
push 0
push 0x402
push dword [0x43ce50]
call edi
push eax
call esi
push 0
push 0x40d
push dword [0x43ce50]
call edi
push eax
call esi
push 1
jmp 0x405863
mov byte [0x43e513], 0
call fcn.00405bf0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x404
push dword [0x43ce50]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 1
push 0x401
push dword [0x43ce50]
call edi
push eax
call esi
push 1
push 0x402
push dword [0x43ce50]
call edi
push eax
call esi
push 1
push 0x40d
push dword [0x43ce50]
call edi
push eax
call esi
push 0
push 0x9d13
push dword [0x43ce50]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x405bde
mov al, byte [0x43e513]
mov dword [ebp - 0xc7c], str.Encoded_script_files__.a3x_
test al, al
jne 0x405945
mov dword [ebp - 0xc7c], str.Executable_files__.exe_
mov dword [ebp - 0xc4c], 0x432dd0
xor eax, eax
mov dword [ebp - 0xc54], 4
mov word [ebp - 0x620], ax
mov esi, 0x43d090
lea eax, [ebp - 0x620]
mov dword [ebp - 0xc5c], esi
mov dword [ebp - 0xc6c], eax
lea eax, [ebp - 0xc88]
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
cmp eax, 1
jne 0x405bd2
lea eax, [ebp - 0x620]
push eax
push 0x403
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.00413d5d
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00413fcb
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.00413f9c
add esp, 0x10
jmp 0x405bd2
mov dword [ebp - 0xc4c], 0x432dc8
jmp 0x4058ab
xor eax, eax
mov dword [ebp - 0xc7c], str.AutoIt_files__.au3_
mov word [ebp - 0x828], ax
mov esi, 0x43ce88
lea eax, [ebp - 0x828]
mov dword [ebp - 0xc4c], 0x432d38
mov dword [ebp - 0xc6c], eax
lea eax, [ebp - 0xc88]
push eax
mov dword [ebp - 0xc5c], esi
mov dword [ebp - 0xc54], 0x1804
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
cmp eax, 1
jne 0x405bd2
lea eax, [ebp - 0x828]
push eax
push 0x3fc
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.00413d5d
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00413fcb
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.00413f9c
add esp, 0x10
call fcn.00405bf0
jmp 0x405bd2
push 0x432194
push 0x404
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
xor eax, eax
mov word [0x43d298], ax
mov word [0x43d4a0], ax
jmp 0x405bd2
cmp esi, 0x9c41
je 0x405af8
cmp esi, 0x9c45
je 0x405ad0
cmp esi, 0x9c49
je 0x405abe
cmp esi, 0x9d0d
jle 0x405bde
mov ecx, 0x9d12
cmp esi, ecx
jle 0x405a97
inc ecx
cmp esi, ecx
jne 0x405bde
xor eax, eax
cmp dword [0x43d6ac], eax
sete al
mov dword [0x43d6ac], eax
test eax, eax
je 0x405a81
push 8
jmp 0x405a83
push 0
push ecx
push edi
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x405bde
push 8
push esi
push ecx
push 0x9d0e
lea eax, [esi - 0x9d0e]
push edi
mov dword [0x43d6a8], eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
jmp 0x405bde
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x405bde
push 0
push 0x405d90
push edi
push 0x6f
push dword [0x43ce54]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 0x9c41
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
jmp 0x405bd8
cmp byte [0x43e511], 0
je 0x405b0d
mov byte [0x43e512], 1
jmp 0x405bde
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x828]
push ecx
push eax
push 0x3fc
push edi
mov byte [0x43e512], 0
call esi
push 0x104
lea eax, [ebp - 0x620]
push eax
push 0x403
push edi
call esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x404
push edi
call esi
xor eax, eax
push eax
push eax
push 0xf0
push 0x40d
push dword [0x43ce50]
mov dword [0x43d6b0], eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x405b7e
mov dword [0x43d6b0], ecx
lea eax, [ebp - 0x828]
push eax
push 0x43def8
call fcn.00413fcb
lea eax, [ebp - 0x620]
push eax
push 0x43e100
call fcn.00413fcb
lea eax, [ebp - 0x218]
push eax
push 0x43e308
call fcn.00413fcb
push 0x43dedc
xor eax, eax
push eax
push 0x43ce50
push 0x405f4f
push eax
push eax
call fcn.00415bc7
add esp, 0x30
mov dword [0x43ded8], eax
push dword [ebp - 0xc2c]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004126d0
mov esp, ebp
pop ebp
ret 0x10