Function at 0x437afa
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x204
mov eax, dword [0x4963dc]
xor eax, esp
mov dword [esp + 0x200], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ecx
mov esi, ecx
mov dword [esp + 0x20], edx
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
call fcn.0048b4e8
mov edi, eax
mov eax, dword [esp + 0x1c]
sub eax, 0x4e
je 0x438721
sub eax, 0xc2
je 0x4383c4
sub eax, 1
jne 0x4387fe
movzx eax, bx
sub eax, 1
je 0x4381f7
sub eax, 1
je 0x4381aa
sub eax, 0xbc1
je 0x438107
dec eax
sub eax, 1
je 0x437ea2
sub eax, 1
je 0x437dd5
sub eax, 4
je 0x437ba0
sub eax, 0x14
jne 0x4387fe
call fcn.0045b9ca
jmp 0x4381ef
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xbc3
push esi
mov dword [esp + 0x30], eax
call edi
xor ebx, ebx
mov dword [esp + 0x18], eax
push ebx
push ebx
push 0x130b
push 0xbc2
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call edi
push ebx
push ebx
push 0x188
push dword [esp + 0x24]
mov dword [esp + 0x2c], eax
call edi
push ebx
push eax
push 0x199
push dword [esp + 0x24]
mov dword [esp + 0x30], eax
call edi
xor edi, edi
mov dword [esp + 0x30], eax
inc edi
cmp eax, 0xffffffff
je 0x437c6d
test eax, eax
je 0x437c6d
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add eax, 8
mov dword [esp + 0x14], edi
push 0x104
mov ecx, dword [ecx]
mov edx, eax
mov dword [esp + 0x28], eax
call fcn.00485715
mov eax, dword [esp + 0x24]
test eax, eax
je 0x437e92
push 0x34
push ebx
mov edx, eax
mov ecx, 0x9004d
call fcn.0040bc05
cmp eax, 6
jne 0x437e92
mov eax, dword [esp + 0x28]
add eax, 8
push eax
cmp dword [esp + 0x18], ebx
je 0x437d12
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x437d23
cmp dword [esp + 0x1c], ebx
jne 0x437d03
mov eax, dword [esp + 0x28]
push 0x104
add eax, 8
mov dword [esp + 0x18], ebx
push eax
push 0x1500a2
push dword [0x49b110]
call dword [sym.imp.Mso30Win32Client.dll_Ordinal_1115]
mov ecx, dword [esp + 0x28]
add ecx, 8
add eax, ecx
mov ecx, 0x3000a
mov dword [esp + 0x24], eax
call fcn.0045baa2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437cb3
push dword [esp + 0x24]
sub eax, edx
push dword [esp + 0x24]
mov dword [esp + 0x34], eax
push 0x189
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, dword [esp + 0x2c]
lea edx, [esp + 0xa8]
mov ecx, dword [esp + 0x24]
push 0xff
mov word [ecx + eax], bx
call fcn.004561ae
test eax, eax
jne 0x437c2c
mov eax, ebx
jmp 0x437c30
mov ecx, dword [esp + 0x2c]
mov eax, ebx
mov dword [esp + 0x14], ecx
jmp 0x437c30
lea eax, [esp + 0xac]
push eax
push 3
push ebx
call dword [0x49aec4]
test eax, eax
je 0x437dc6
cmp dword [esp + 0x14], ebx
je 0x437d3b
push dword [esp + 0x30]
push ebx
call fcn.00483654
push ebx
push dword [esp + 0x24]
push 0x182
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jl 0x437d5c
dec ecx
mov dword [esp + 0x20], ecx
push ebx
push ecx
push 0x186
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
cmp dword [esp + 0x20], eax
setge al
push eax
push edi
push esi
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esp + 0x1c], edi
je 0x437db1
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x437db5
push ebx
push eax
push 0x199
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x437db5
mov ebx, edi
jmp 0x437db5
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x437e96
mov ecx, 0x90024
call fcn.0040be1c
jmp 0x437e92
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [0x49b110]
mov edx, ecx
push eax
push 0x437221
push esi
push str.DATASOURCEOPTIONS
mov dword [esp + 0x2c], eax
call fcn.0048814e
xor edi, edi
inc edi
cmp eax, edi
jne 0x437e87
xor ebx, ebx
push ebx
push ebx
push 0x130b
push 0xbc2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x110]
push 0xbc3
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, esi
mov ecx, eax
call fcn.0043665e
xor ecx, ecx
mov dword [esp + 0x2c], eax
test eax, eax
setne cl
push ecx
push edi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
jne 0x437e70
cmp dword [esp + 0x2c], ebx
je 0x437e70
mov ebx, edi
push ebx
push 0xbca
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x497578]
mov dword [ecx], eax
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4387fe
push 0x58
pop edi
push edi
xor ebx, ebx
lea eax, [esp + 0x54]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x54], esi
call fcn.00435ea0
mov dword [esp + 0x5c], eax
mov ecx, 0x1500ee
lea eax, [esp + 0xa8]
mov dword [esp + 0x70], 0x104
mov dword [esp + 0x6c], eax
call fcn.0045baa2
cmp dword [0x49b10c], 0x400
mov dword [esp + 0x80], eax
sbb eax, eax
mov dword [esp + 0x94], 0x4378bc
and eax, 0x180000
mov byte [esp + 0xa8], bl
add eax, 0x81025
mov dword [esp + 0x84], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
xor edi, edi
inc edi
mov dword [esp + 0x20], edi
test eax, eax
je 0x4387fe
push 0xbc2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 0x15009f
mov dword [esp + 0x14], eax
call fcn.0045baa2
movzx ecx, word [esp + 0x8a]
add eax, 2
push eax
lea eax, [esp + 0xac]
add ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x437f7b
mov dword [esp + 0x10], ebx
jmp 0x437ff4
mov ecx, 0x15009c
call fcn.0045baa2
add eax, 2
lea ecx, [esp + 0xa8]
push eax
movzx eax, word [esp + 0x8e]
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x437fab
mov dword [esp + 0x10], edi
jmp 0x437ff4
mov ecx, 0x1500fe
call fcn.0045baa2
add eax, 2
lea ecx, [esp + 0xa8]
push eax
movzx eax, word [esp + 0x8e]
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x437fdf
mov dword [esp + 0x10], 2
jmp 0x437ff4
push ebx
push ebx
push 0x130b
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x10], eax
push ebx
push ebx
push 0x130b
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x438089
push ebx
push ecx
push 0x130c
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [eax + 0x110]
push 0xbc3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x14]
mov ecx, eax
call fcn.0043665e
mov ecx, dword [esp + 0x10]
dec ecx
neg ecx
sbb ecx, ecx
add ecx, 0x1500ed
call fcn.0045baa2
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
pop eax
xor ecx, ecx
cmp dword [esp + 0x10], 2
cmove eax, ecx
push eax
push 0xbc4
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xbc3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [esp + 0x14]
mov esi, eax
lea edx, [esp + 0xb0]
push ebx
mov ecx, esi
call fcn.0043625d
push eax
push 0x186
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x18b
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x18]
neg eax
sbb eax, eax
neg eax
push eax
push dword [esp + 0x24]
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
xor eax, eax
test edi, edi
setns al
push eax
push 0xbca
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
mov edi, dword [esp + 0x20]
jmp 0x4387fe
shr ebx, 0x10
sub ebx, 1
je 0x438136
sub ebx, 1
jne 0x4387fe
inc ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push ebx
mov edx, 0x111
mov ecx, esi
call fcn.00437afa
mov edi, eax
jmp 0x4387fe
xor ebx, ebx
push ebx
push ebx
push 0x130b
push 0xbc2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call edi
push ebx
push ebx
push 0x188
push dword [esp + 0x1c]
mov esi, eax
call edi
xor edi, edi
inc edi
cmp esi, edi
je 0x438187
test eax, eax
jle 0x43818e
push ebx
push eax
push 0x199
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x43818e
mov ebx, edi
jmp 0x43818e
xor ebx, ebx
test eax, eax
setns bl
push ebx
push 0xbca
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4387fe
push 0xbc3
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
call esi
mov ecx, eax
call fcn.00436544
mov edi, dword [esp + 0x18]
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 0x492800
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_789]
push ebx
push edi
call dword [sym.imp.USER32.dll_EndDialog]
xor edi, edi
inc edi
jmp 0x4387fe
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xbc3
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
mov edi, eax
push ebx
push ebx
push 0x130b
push 0xbc2
push esi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x188
push edi
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
mov ecx, eax
mov eax, dword [esp + 0x28]
inc edi
mov dword [esp + 0x2c], ecx
cmp eax, edi
je 0x4382d1
test ecx, ecx
jne 0x4382d1
mov ecx, dword [0x49b110]
mov edx, ecx
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
push eax
push 0x4368c0
push esi
push str.CREATENEWDATASOURCE
call fcn.0048814e
cmp eax, edi
jne 0x4382c7
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xb4]
push ebx
push ecx
push ebx
mov ebx, dword [esp + 0x20]
mov ecx, ebx
call fcn.0043625d
push eax
push 0x186
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
test eax, eax
setns cl
push ecx
push 0xbca
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4382cb
mov ebx, dword [esp + 0x14]
push ebx
jmp 0x437e97
push ebx
push ecx
push 0x199
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0xf0
push 0xbc4
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [eax + 4], ecx
cmp ecx, 2
je 0x43831c
mov ecx, edi
test edx, edx
jne 0x43831e
mov ecx, ebx
mov dword [eax + 0x10c], ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x438333
test ecx, ecx
mov ecx, ebx
jne 0x438335
mov ecx, edi
mov dword [eax + 0x110], ecx
test ecx, ecx
je 0x438382
mov ecx, 0x3000a
call fcn.0045baa2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43834c
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
add eax, 8
push eax
push dword [esp + 0x30]
push 0x189
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov byte [eax + ecx + 8], bl
jmp 0x438395
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 8]
push 0x104
mov ecx, dword [ecx]
call fcn.00485715
push 0xbc3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, eax
call fcn.00436544
push dword [esp + 0x30]
push 0x492800
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_789]
push edi
push esi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4387fe
mov ebx, dword [esp + 0x10]
mov eax, dword [0x497578]
mov esi, dword [sym.imp.Mso20Win32Client.dll_Ordinal_1554]
push 0x492b98
mov dword [ebx], eax
call esi
push 0x492800
mov dword [ebx + 0x110], eax
call esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
push 0xf1
push 0xbc4
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xbc2
push esi
call edi
xor edi, edi
mov dword [esp + 0x14], eax
inc edi
mov ecx, 0x1500e9
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], edi
call fcn.0045baa2
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
push ebx
push 0x1307
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], ebx
jne 0x438482
push ebx
push 0xbde
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push ebx
push 0xbc4
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x438517
mov ecx, 0x1500ea
call fcn.0045baa2
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x1307
push dword [esp + 0x20]
call edi
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 2
jne 0x4384d1
mov ecx, 0x1500eb
call fcn.0045baa2
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
push 2
push 0x1307
push dword [esp + 0x20]
call edi
cmp dword [0x49b10c], 0x400
jb 0x43851b
push 0xbde
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x49b164]
push dword [eax + 0x717]
push ebx
push 0xf7
push esi
call edi
mov esi, dword [esp + 0x18]
push ebx
push ebx
push 0x130b
push 0xbc2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
mov edi, eax
mov eax, dword [esp + 0x10]
push dword [eax + 0x110]
push 0xbc3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, edi
mov ecx, eax
call fcn.0043665e
push dword [esp + 0x20]
mov dword [esp + 0x20], eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [edi - 1]
mov esi, eax
neg ecx
sbb ecx, ecx
add ecx, 0x1500ed
call fcn.0045baa2
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
xor eax, eax
cmp dword [esp + 0x1c], eax
setne al
push eax
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, dword [esp + 0x20]
jne 0x4385a2
cmp dword [esp + 0x1c], ebx
je 0x4385a2
mov edi, dword [esp + 0x20]
mov ebx, edi
jmp 0x4385a6
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
mov ebx, dword [esp + 0x1c]
push 0xbca
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0xbc3
push ebx
call esi
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x437a9c
push 0xfffffffffffffffc
push esi
mov dword [0x499f10], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push edi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x437aba
push 0xfffffffffffffffc
push esi
mov dword [0x499f14], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x437aba
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xbc5
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x437aba
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xbc6
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x437aba
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xbca
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x437aba
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xbde
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x437aba
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xbc4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x437aba
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xbc2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x437ad8
push 0xfffffffffffffffc
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x499f18], eax
call esi
push dword [esp + 0x10]
push 8
push ebx
call esi
jmp 0x4387fe
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], 0xfffffdd9
jne 0x4387fe
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor ebx, ebx
mov esi, eax
mov eax, dword [esp + 0x10]
push ebx
push ebx
push 0x130b
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi + 0x110]
mov esi, dword [esp + 0x1c]
mov edi, eax
push 0xbc3
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, edi
mov ecx, eax
call fcn.0043665e
xor edi, edi
mov dword [esp + 0x1c], eax
inc edi
push edi
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x14]
mov esi, eax
dec ecx
neg ecx
sbb ecx, ecx
add ecx, 0x1500ed
call fcn.0045baa2
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
xor edx, edx
cmp dword [esp + 0x1c], edx
push ecx
setne dl
mov ecx, esi
call fcn.0042f4b1
cmp dword [esp + 0x14], edi
jne 0x4387c3
cmp dword [esp + 0x1c], ebx
je 0x4387c3
mov ebx, edi
mov esi, dword [esp + 0x18]
push ecx
push 0xbca
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, ebx
mov ecx, eax
call fcn.0042f4b1
push 5
pop eax
xor ecx, ecx
cmp dword [esp + 0x14], 2
cmove eax, ecx
push eax
push 0xbc4
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x20c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048dc69
mov esp, ebp
pop ebp
ret 8