Function at 0x3005a0ca
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x30002788]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
push esi
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x164], edi
push edi
mov dword [ebp - 0x178], esi
call fcn.3008507a
mov ecx, dword [ebp + 0xc]
sub ecx, 0x4e
je 0x3005add4
sub ecx, 0xc2
je 0x3005aa7a
dec ecx
jne 0x3005aebb
movzx ecx, bx
dec ecx
je 0x3005a830
dec ecx
je 0x3005a7e2
sub ecx, 0xbc1
je 0x3005a741
dec ecx
dec ecx
je 0x3005a4ba
dec ecx
je 0x3005a3d4
sub ecx, 4
je 0x3005a163
sub ecx, 0x14
jne 0x3005aebb
call fcn.300557f9
jmp 0x3005aeb8
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xbc3
push edi
mov dword [ebp - 0x164], eax
call esi
xor ebx, ebx
push ebx
push ebx
push 0x130b
push 0xbc2
push edi
mov dword [ebp - 0x168], eax
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call esi
push ebx
push ebx
push 0x188
push dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
call esi
push ebx
push eax
push 0x199
push dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x174], eax
je 0x3005a20d
cmp eax, ebx
je 0x3005a20d
mov eax, dword [ebp - 0x164]
add eax, 8
push 0x104
push eax
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x174]
push dword [eax]
mov dword [ebp - 0x180], 1
call fcn.300818fd
add esp, 0xc
jmp 0x3005a2af
cmp dword [ebp - 0x16c], ebx
jne 0x3005a2a9
mov eax, dword [ebp - 0x164]
push 0x104
add eax, 8
push eax
push 0x1500a2
mov dword [ebp - 0x180], ebx
call fcn.3005bbc9
mov ecx, dword [ebp - 0x164]
lea eax, [eax + ecx + 8]
push 0x3000a
mov dword [ebp - 0x17c], eax
call fcn.3005bbe5
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x3005a255
push dword [ebp - 0x17c]
sub eax, ecx
push dword [ebp - 0x170]
mov dword [ebp - 0x184], eax
push 0x189
push dword [ebp - 0x168]
call esi
sub eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x17c]
add eax, ecx
mov byte [eax], bl
mov byte [eax + 1], bl
push 0xff
lea eax, [ebp - 0x144]
push eax
push ecx
call fcn.3003b303
add esp, 0xc
test eax, eax
jne 0x3005a2af
mov dword [ebp - 0x17c], ebx
cmp dword [ebp - 0x17c], ebx
je 0x3005a3c3
push 0x34
push dword [ebp - 0x17c]
push 0x9004d
call fcn.30006a9e
add esp, 0xc
cmp eax, 6
jne 0x3005a3c3
mov eax, dword [ebp - 0x164]
add eax, 8
cmp dword [ebp - 0x180], ebx
push eax
je 0x3005a2f3
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x3005a303
lea eax, [ebp - 0x144]
push eax
push 3
push ebx
call dword [0x3009ddc0]
cmp eax, ebx
je 0x3005a3b8
cmp dword [ebp - 0x180], ebx
je 0x3005a31f
push dword [ebp - 0x174]
push ebx
call fcn.3007f6e5
push ebx
push dword [ebp - 0x170]
push 0x182
push dword [ebp - 0x168]
call esi
cmp dword [ebp - 0x170], eax
jl 0x3005a341
dec dword [ebp - 0x170]
push ebx
push dword [ebp - 0x170]
push 0x186
push dword [ebp - 0x168]
call esi
xor eax, eax
cmp dword [ebp - 0x170], ebx
setge al
push eax
push 1
push edi
mov dword [ebp - 0x174], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
cmp dword [ebp - 0x16c], 1
je 0x3005a3a7
cmp dword [ebp - 0x170], ebx
jle 0x3005a3ad
push ebx
push dword [ebp - 0x170]
push 0x199
push dword [ebp - 0x168]
call esi
test eax, eax
je 0x3005a3ad
xor ebx, ebx
inc ebx
jmp 0x3005a3ad
mov ebx, dword [ebp - 0x174]
push ebx
push dword [ebp - 0x178]
call edi
jmp 0x3005a3c3
push 0x90024
call fcn.30006ab6
pop ecx
push dword [ebp - 0x178]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x3005aeb8
call fcn.300558ab
push 8
push edi
mov dword [ebp - 0x174], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0x30059897
push edi
push 0x300021f8
push dword [0x3009e050]
mov dword [ebp - 0x164], eax
call fcn.300877c2
add esp, 0x14
cmp eax, 1
jne 0x3005a495
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push ebx
push ebx
push 0x130b
push 0xbc2
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x164]
push dword [ecx + 0x110]
mov dword [ebp - 0x16c], eax
push eax
push 0xbc3
push edi
call esi
push eax
call fcn.30058c06
add esp, 0xc
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [ebp - 0x170], eax
push ecx
push 1
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x16c], 1
jne 0x3005a47f
cmp dword [ebp - 0x170], ebx
je 0x3005a47f
inc ebx
push ebx
push 0xbca
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [ebp - 0x178]
mov eax, dword [0x30098328]
mov ecx, dword [ebp - 0x164]
push esi
mov dword [ecx], eax
call dword [sym.imp.USER32.dll_SetFocus]
push dword [ebp - 0x174]
call fcn.300558e7
pop ecx
jmp 0x3005aeb8
push 0x58
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x1f8]
push ebx
push eax
call sub.MSVCR80.dll_memset
lea eax, [ebp - 0x44]
push 0x40
push eax
mov dword [ebp - 0x1f8], esi
mov dword [ebp - 0x1f4], edi
call fcn.30058435
add esp, 0x14
mov dword [ebp - 0x1ec], eax
lea eax, [ebp - 0x148]
push 0x1500ee
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], 0x104
call fcn.3005bbe5
cmp dword [0x3009e098], 0x400
mov dword [ebp - 0x1c8], eax
sbb eax, eax
and eax, 0x180000
add eax, 0x81025
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1b4], 0x30059ead
mov byte [ebp - 0x148], bl
call fcn.300558ab
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x1f8]
push eax
call dword [sym.imp.comdlg32.dll_GetOpenFileNameA]
test eax, eax
je 0x3005a4a9
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xbc2
push edi
call esi
push 0x15009f
mov dword [ebp - 0x168], eax
call fcn.3005bbe5
inc eax
inc eax
push eax
movzx eax, word [ebp - 0x1be]
lea eax, [ebp + eax - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x3005a5a1
mov dword [ebp - 0x16c], ebx
jmp 0x3005a61e
push 0x15009c
call fcn.3005bbe5
inc eax
inc eax
push eax
movzx eax, word [ebp - 0x1be]
lea eax, [ebp + eax - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x3005a5d3
mov dword [ebp - 0x16c], 1
jmp 0x3005a61e
push 0x1500fe
call fcn.3005bbe5
inc eax
inc eax
push eax
movzx eax, word [ebp - 0x1be]
lea eax, [ebp + eax - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x3005a605
mov dword [ebp - 0x16c], 2
jmp 0x3005a61e
push ebx
push ebx
push 0x130b
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x16c], eax
push ebx
push ebx
push 0x130b
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x16c], eax
je 0x3005a6bd
push ebx
push dword [ebp - 0x16c]
push 0x130c
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SendMessageA]
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [eax + 0x110]
push dword [ebp - 0x16c]
push 0xbc3
push edi
call esi
push eax
call fcn.30058c06
mov eax, dword [ebp - 0x16c]
add esp, 0xc
dec eax
neg eax
sbb eax, eax
add eax, 0x1500ed
push eax
call fcn.3005bbe5
push eax
push 1
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 0x16c]
dec eax
dec eax
neg eax
sbb eax, eax
and eax, 5
push eax
push 0xbc4
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xbc3
push edi
call esi
push ebx
push dword [ebp - 0x16c]
lea ecx, [ebp - 0x148]
push ebx
push ecx
push eax
mov dword [ebp - 0x168], eax
call fcn.300587cf
add esp, 0x10
push eax
push 0x186
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x18b
push dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
call dword [sym.imp.USER32.dll_SendMessageA]
neg eax
sbb eax, eax
neg eax
push eax
push 1
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
cmp dword [ebp - 0x170], ebx
setge al
push eax
push 0xbca
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x3005a4a9
shr ebx, 0x10
dec ebx
je 0x3005a76a
dec ebx
jne 0x3005aebb
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 1
push 0x111
push edi
call fcn.3005a0ca
jmp 0x3005aebb
xor ebx, ebx
push ebx
push ebx
push 0x130b
push 0xbc2
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call esi
push ebx
push ebx
push 0x188
push dword [ebp - 0x178]
mov dword [ebp - 0x16c], eax
call esi
cmp dword [ebp - 0x16c], 1
je 0x3005a7c0
cmp eax, ebx
jle 0x3005a7c9
push ebx
push eax
push 0x199
push dword [ebp - 0x178]
call esi
test eax, eax
je 0x3005a7c9
inc ebx
jmp 0x3005a7c9
xor ecx, ecx
cmp eax, ebx
setge cl
mov ebx, ecx
push ebx
push 0xbca
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x3005aeb8
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xbc3
push edi
call esi
push eax
call fcn.30058af3
pop ecx
xor ebx, ebx
push ebx
push ebx
push 0xf0
push 0xbc4
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0x300018c4
call fcn.3005ba63
push ebx
call fcn.3005583e
add esp, 0xc
push ebx
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x3005aeb8
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xbc3
push edi
mov dword [ebp - 0x164], eax
call esi
xor ebx, ebx
push ebx
push ebx
push 0x130b
push 0xbc2
push edi
mov dword [ebp - 0x168], eax
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call esi
push ebx
push ebx
push 0x188
push dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
call esi
cmp dword [ebp - 0x16c], 1
mov dword [ebp - 0x170], eax
je 0x3005a957
cmp eax, ebx
jne 0x3005a957
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x160]
push eax
push 0x30058e6d
push edi
push 0x300021e4
push dword [0x3009e050]
call fcn.300877c2
add esp, 0x14
cmp eax, 1
mov dword [ebp - 0x184], eax
jne 0x3005a91a
push ebx
push dword [ebp - 0x16c]
lea eax, [ebp - 0x154]
push ebx
push eax
push dword [ebp - 0x168]
call fcn.300587cf
add esp, 0x10
push eax
push 0x186
push dword [ebp - 0x168]
call esi
xor ecx, ecx
cmp eax, ebx
setge cl
push ecx
push 0xbca
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x164]
cmp dword [eax + 4], ebx
je 0x3005a939
push edi
call fcn.30055774
mov dword [esp], 0x3009a11c
call fcn.300557cd
jmp 0x3005a94b
xor eax, eax
cmp dword [ebp - 0x184], 1
sete al
push eax
call fcn.3005583e
pop ecx
push dword [ebp - 0x168]
jmp 0x3005a3c9
push ebx
push eax
push 0x199
push dword [ebp - 0x168]
call esi
push ebx
push ebx
push 0xf0
push 0xbc4
push edi
mov dword [ebp - 0x174], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x16c]
cmp eax, 2
mov dword [ecx + 4], eax
je 0x3005a9a9
cmp dword [ebp - 0x180], ebx
je 0x3005a9a9
xor eax, eax
inc eax
jmp 0x3005a9ab
xor eax, eax
cmp dword [ebp - 0x174], 0xffffffff
mov dword [ecx + 0x10c], eax
je 0x3005a9c6
cmp dword [ebp - 0x174], ebx
je 0x3005a9c6
xor eax, eax
jmp 0x3005a9c9
xor eax, eax
inc eax
cmp eax, ebx
mov dword [ecx + 0x110], eax
je 0x3005aa1e
push 0x3000a
call fcn.3005bbe5
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x3005a9e0
sub eax, edx
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x164]
add eax, 8
push eax
push dword [ebp - 0x170]
push 0x189
push dword [ebp - 0x168]
call esi
mov ecx, dword [ebp - 0x164]
sub ecx, dword [ebp - 0x184]
mov byte [eax + ecx + 8], bl
jmp 0x3005aa39
mov eax, ecx
add eax, 8
push 0x104
push eax
mov eax, dword [ebp - 0x174]
push dword [eax]
call fcn.300818fd
add esp, 0xc
push 0xbc3
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.30058af3
push dword [ebp - 0x180]
push 0x300018c4
call fcn.3005ba63
mov eax, dword [ebp - 0x164]
add esp, 0xc
cmp dword [eax + 0x10c], ebx
jne 0x3005aa73
push ebx
call fcn.3005583e
pop ecx
push 1
jmp 0x3005a824
mov eax, dword [0x30098328]
mov edi, esi
push 0x30001914
mov dword [edi], eax
call fcn.3005ba55
pop ecx
xor ebx, ebx
push ebx
push 0x300018c4
mov dword [edi + 0x110], eax
call fcn.3005ba55
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push eax
push 0xf1
push 0xbc4
push dword [ebp - 0x164]
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xbc2
push dword [ebp - 0x164]
call esi
push 0x1500e9
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x1a0], 1
call fcn.3005bbe5
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1a0]
push eax
push ebx
push 0x1307
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [edi + 4], ebx
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
jne 0x3005ab42
push ebx
push 0xbde
push dword [ebp - 0x164]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 0xbc4
push dword [ebp - 0x164]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x3005ac0f
push 0x1500ea
call fcn.3005bbe5
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1a0]
push eax
push 1
push 0x1307
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x178]
cmp dword [eax + 4], 2
jne 0x3005aba2
push 0x1500eb
call fcn.3005bbe5
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1a0]
push eax
push 2
push 0x1307
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x3009e098], 0x400
jb 0x3005abf7
push 0xbde
push dword [ebp - 0x164]
call esi
push 0xfffffffffffffff0
push eax
mov dword [ebp - 0x168], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80
push eax
push 0xfffffffffffffff0
push dword [ebp - 0x168]
call edi
mov eax, dword [0x3009e09c]
push dword [eax + 0x717]
push ebx
push 0xf7
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x164]
call fcn.30055774
mov dword [esp], 0x3009a11c
call fcn.300557cd
pop ecx
push ebx
push ebx
push 0x130b
push 0xbc2
push dword [ebp - 0x164]
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x178]
push dword [ecx + 0x110]
mov dword [ebp - 0x16c], eax
push eax
push 0xbc3
push dword [ebp - 0x164]
call esi
push eax
call fcn.30058c06
add esp, 0xc
push 1
push dword [ebp - 0x164]
mov dword [ebp - 0x170], eax
call esi
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x16c]
dec eax
neg eax
sbb eax, eax
add eax, 0x1500ed
push eax
call fcn.3005bbe5
push eax
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SetWindowTextA]
xor eax, eax
cmp dword [ebp - 0x170], ebx
setne al
push eax
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x16c], 1
jne 0x3005acb8
cmp dword [ebp - 0x170], ebx
je 0x3005acb8
xor ebx, ebx
inc ebx
push ebx
push 0xbca
push dword [ebp - 0x164]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0xbc3
push dword [ebp - 0x164]
call esi
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffffc
push eax
mov dword [ebp - 0x168], eax
call ebx
push 0x3005a067
push 0xfffffffffffffffc
push dword [ebp - 0x168]
mov dword [0x3009c88c], eax
call edi
push 1
push dword [ebp - 0x164]
call esi
push 0xfffffffffffffffc
push eax
mov dword [ebp - 0x168], eax
call ebx
mov ebx, 0x3005a088
push ebx
push 0xfffffffffffffffc
push dword [ebp - 0x168]
mov dword [0x3009c890], eax
call edi
push ebx
push 0xfffffffffffffffc
push 2
push dword [ebp - 0x164]
call esi
push eax
call edi
push ebx
push 0xfffffffffffffffc
push 0xbc5
push dword [ebp - 0x164]
call esi
push eax
call edi
push ebx
push 0xfffffffffffffffc
push 0xbc6
push dword [ebp - 0x164]
call esi
push eax
call edi
push ebx
push 0xfffffffffffffffc
push 0xbca
push dword [ebp - 0x164]
call esi
push eax
call edi
push ebx
push 0xfffffffffffffffc
push 0xbde
push dword [ebp - 0x164]
call esi
push eax
call edi
push ebx
push 0xfffffffffffffffc
push 0xbc4
push dword [ebp - 0x164]
call esi
push eax
call edi
push 0xbc2
push dword [ebp - 0x164]
call esi
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x3005a0a9
push 0xfffffffffffffffc
push esi
mov dword [0x3009c89c], eax
call edi
push dword [ebp - 0x178]
push 8
push dword [ebp - 0x164]
call edi
jmp 0x3005aeb8
cmp dword [esi + 8], 0xfffffdd9
jne 0x3005aebb
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x164], eax
push 0x130b
mov eax, esi
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
mov eax, dword [ebp - 0x164]
push dword [eax + 0x110]
push esi
push 0xbc3
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.30058c06
add esp, 0xc
push 1
push edi
mov dword [ebp - 0x170], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x168], eax
mov eax, esi
dec eax
neg eax
sbb eax, eax
add eax, 0x1500ed
push eax
call fcn.3005bbe5
push eax
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SetWindowTextA]
xor eax, eax
cmp dword [ebp - 0x170], ebx
push 2
setne al
push eax
push dword [ebp - 0x168]
call fcn.3005183a
add esp, 0xc
cmp esi, 1
jne 0x3005ae85
cmp dword [ebp - 0x170], ebx
je 0x3005ae85
inc ebx
push 2
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xbca
push edi
call ebx
push eax
call fcn.3005183a
add esp, 0xc
dec esi
dec esi
neg esi
sbb esi, esi
and esi, 5
push esi
push 0xbc4
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3008a55a
leave
ret 0x10