Function at 0x40221c
Capabilities:
Create directory
Create process on windows
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
cmp dword [ebp + 0xc], 0x110
mov ebx, dword [ebp + 8]
je 0x4031fd
ja 0x402274
cmp dword [ebp + 0xc], 5
je 0x4031c5
ja 0x402258
cmp dword [ebp + 0xc], 1
je 0x4031fd
cmp dword [ebp + 0xc], 2
je 0x4022bd
jmp case.default.0x40243d
cmp dword [ebp + 0xc], 0x10
je 0x40251d
cmp dword [ebp + 0xc], 0x100
je 0x402394
jmp case.default.0x40243d
cmp dword [ebp + 0xc], 0x115
je 0x402394
ja 0x402291
cmp dword [ebp + 0xc], 0x112
jbe 0x402300
jmp case.default.0x40243d
cmp dword [ebp + 0xc], 0x20a
je 0x402394
cmp dword [ebp + 0xc], 0x400
je 0x4024c8
cmp dword [ebp + 0xc], 0x203
jne case.default.0x40243d
jmp 0x4025b6
cmp ebx, dword [0x472ce4]
jne 0x4022d4
mov dword [0x472ce4], 0
jmp case.default.0x40243d
cmp ebx, dword [0x472ce0]
jne 0x4022f0
mov dword [0x472ce0], 0
call fcn.00411db3
jmp case.default.0x40243d
sub esp, 0xc
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4024c0
movzx edi, word [ebp + 0x10]
lea edx, [edi - 0x320]
mov eax, edi
cmp edx, 0xc1b
ja 0x40231f
mov eax, dword [ebp + 0x10]
and eax, 7
add eax, 0x2bc
cmp eax, 0x2d1
je 0x402976
jle 0x4025e5
cmp eax, 0x2fb
je 0x402e63
jle 0x4026be
cmp eax, 0x30f
je 0x402fd1
jle 0x40273a
cmp eax, 0x31c
je 0x40301d
jle 0x402772
sub eax, 0xf3c
cmp eax, 0xd
ja case.default.0x40243d
sub edi, 0xf3c
cmp edi, dword [0x465cc0]
jge case.default.0x40243d
movsx eax, word [edi + edi + 0x465ce0]
shl eax, 0x10
or eax, 5
mov dword [ebp + 0x10], eax
cmp ebx, dword [0x472ce0]
jne case.default.0x40243d
push eax
push eax
push 1
push ebx
call dword [sym.imp.USER32.dll_GetScrollPos]
cmp dword [ebp + 0xc], 0x100
mov edi, eax
pop eax
pop edx
jne 0x40241d
mov eax, dword [ebp + 0x14]
sar eax, 0x10
and eax, 0x7f
cmp eax, 0x48
je case.0x40243d.0
jg 0x4023df
cmp eax, 1
je 0x4031af
cmp eax, 0x1c
je 0x4023f4
jmp case.default.0x40243d
cmp eax, 0x50
je case.0x40243d.1
cmp eax, 0x51
je case.0x40243d.3
cmp eax, 0x49
jne case.default.0x40243d
jmp case.0x40243d.2
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x4031be
push ecx
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test ah, 0x10
pop esi
pop edi
jne case.default.0x40243d
jmp 0x4031be
cmp dword [ebp + 0xc], 0x20a
jne 0x402430
mov esi, dword [ebp + 0x10]
sar esi, 0x12
neg esi
jmp 0x402468
movzx eax, word [ebp + 0x10]
cmp eax, 5
ja case.default.0x40243d
jmp dword [eax*4 + 0x4391d8]
mov esi, 8
jmp 0x402468
mov esi, 0x3c
jmp 0x402468
mov esi, dword [ebp + 0x10]
shr esi, 0x10
sub esi, edi
jmp 0x402468
mov esi, 0xffffffc4
jmp 0x402468
mov esi, 0xfffffff8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push ebx
call dword [sym.imp.USER32.dll_GetScrollRange]
mov eax, esi
add eax, edi
jns 0x402487
neg edi
xor eax, eax
mov esi, edi
jmp 0x402494
mov edx, dword [ebp - 0x2c]
cmp eax, edx
jle 0x402494
sub eax, edx
sub esi, eax
mov eax, edx
neg esi
push 1
push eax
push 1
push ebx
call dword [sym.imp.USER32.dll_SetScrollPos]
push 7
push 0
push 0
push 0
push 0
push esi
push 0
push ebx
call dword [sym.imp.USER32.dll_ScrollWindowEx]
sub esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
add esp, 0xc
jmp case.default.0x40243d
cmp dword [ebp + 0x14], 0x202
jne 0x40259c
cmp dword [0x42a04c], 7
jne 0x402537
cmp dword [ebp + 0x10], 0x202
jne 0x402537
push 0
push str.Small_Server
push dword [0x42f264]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x42a04c], 4
push eax
push eax
push 0x42a048
push dword [0x45c260]
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
pop eax
pop edx
jmp 0x402537
test byte [0x465794], 0x10
jne case.default.0x40243d
test byte [0x465798], 0x10
je case.default.0x40243d
cmp dword [0x42a49c], 0
je 0x402562
push ecx
push ecx
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop edi
mov ecx, dword [0x42a044]
mov dword [0x42a49c], 0
call fcn.004036e8
sub esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
add esp, 0xc
cmp dword [ebp + 0xc], 0x10
jne 0x4031fd
push 0x24
push str.Small_Server
push dword [0x42f224]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne case.default.0x40243d
jmp 0x4031fd
cmp dword [ebp + 0x14], 0x205
jne 0x4031fd
sub esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
add esp, 0xc
lea eax, [ebp - 0x28]
sub esp, 0xc
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
sub esp, 0xc
push 0
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0x4a
push dword [0x472cec]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
add esp, 0x18
jmp 0x4031fd
cmp eax, 0x164
jg 0x402652
cmp eax, 0x160
jge 0x4030b9
cmp eax, 0x158
je 0x403089
jg 0x402626
cmp eax, 0x7e
je 0x4030a2
cmp eax, 0x96
je 0x4031af
cmp eax, 0x7d
jne case.default.0x40243d
jmp 0x4024d5
cmp eax, 0x15a
je 0x40306b
jl 0x403070
cmp eax, 0x15b
je 0x40307f
cmp eax, 0x15e
je 0x4030b9
jmp case.default.0x40243d
cmp eax, 0x2be
jg 0x40268a
cmp eax, 0x2bd
jge 0x40279e
cmp eax, 0x168
jl case.default.0x40243d
cmp eax, 0x171
jle 0x40315e
cmp eax, 0x2bc
je 0x40278d
jmp case.default.0x40243d
cmp eax, 0x2c1
je 0x402868
jg 0x4026ac
cmp eax, 0x2bf
je 0x40281b
cmp eax, 0x2c0
jmp 0x40274c
cmp eax, 0x2c6
je 0x4031be
cmp eax, 0x2d0
jmp 0x4026ec
cmp eax, 0x2e5
je 0x402afa
jg 0x4026f7
cmp eax, 0x2d3
je 0x402a6b
jl 0x4029b5
cmp eax, 0x2d9
je 0x40281b
cmp eax, 0x2e4
je 0x402968
jmp case.default.0x40243d
cmp eax, 0x2f8
je 0x402968
jg 0x40271f
cmp eax, 0x2e6
je 0x402ab8
cmp eax, 0x2e7
je 0x402bf2
jmp case.default.0x40243d
cmp eax, 0x2f9
je 0x402cdd
cmp eax, 0x2fa
je 0x402c53
jmp case.default.0x40243d
cmp eax, 0x30c
je 0x402968
jg 0x402757
cmp eax, 0x301
je 0x40282e
jmp case.default.0x40243d
cmp eax, 0x30d
je 0x402eda
cmp eax, 0x30e
je 0x402ea4
jmp case.default.0x40243d
cmp eax, 0x319
je 0x40282e
cmp eax, 0x31a
je 0x40301d
jmp case.default.0x40243d
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cmp eax, 0x200
jne case.default.0x40243d
mov esi, dword [ebp + 0x10]
sar edx, 3
push 0
mov dword [ebp - 0x30], edx
push 0
and esi, 0xff8
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemInt]
test byte [ebp + 0x10], 7
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x30]
jne 0x4027d9
imul edx, ecx, 0x18
cmp dword [edx + 0x42c648], 0
je case.default.0x40243d
mov edx, eax
jmp 0x4027e8
mov edx, dword [ebp + 0x10]
mov edi, eax
and edx, 1
add edx, edx
sub edi, edx
mov edx, edi
inc edx
imul ecx, ecx, 0x18
mov edi, dword [ecx + 0x42c644]
add ecx, 0x42c640
mov ecx, dword [ecx + 8]
cmp edx, edi
cmovl edx, edi
cmp ecx, edx
cmovb edx, ecx
cmp edx, eax
je case.default.0x40243d
push 0
push edx
push esi
push dword [0x472ce0]
jmp 0x402917
sub esp, 0xc
push 0x4381c0
call dword [sym.imp.COMDLG32.DLL_GetOpenFileNameA]
add esp, 0xc
jmp 0x40284e
sub esp, 0xc
push 0x4381a0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
sub esp, 0xc
push 0x472d00
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
add esp, 0x18
test eax, eax
je case.default.0x40243d
mov eax, dword [0x472ce0]
test eax, eax
jne 0x403207
jmp case.default.0x40243d
sar edx, 3
mov dword [ebp - 0x30], edx
imul edx, edx, 0x18
mov edx, dword [edx + 0x42c648]
test edx, edx
jne case.default.0x40243d
push ecx
push ecx
push edi
push ebx
mov dword [ebp - 0x44], edx
call fcn.004021df
and eax, 1
mov dword [ebp - 0x40], eax
mov esi, eax
mov eax, dword [ebp - 0x30]
pop edi
xor esi, 1
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [eax*8 + 0x328]
pop edx
mov dword [ebp - 0x2c], eax
push eax
push ebx
call edi
push esi
push eax
mov eax, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x3c], eax
call eax
mov eax, dword [ebp - 0x30]
pop ecx
mov ecx, dword [ebp - 0x2c]
inc eax
imul eax, eax, 0x18
pop edx
add eax, 0x42c640
cmp dword [eax + 8], 0
je 0x402922
inc ecx
push eax
push eax
push ecx
push ebx
call edi
push esi
push eax
call dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
add eax, 2
push eax
push ebx
call edi
push esi
push eax
call dword [ebp - 0x3c]
cmp dword [ebp - 0x40], 0
pop eax
pop edx
mov edx, dword [ebp - 0x44]
jne 0x402910
mov eax, dword [ebp - 0x30]
mov edx, 2
inc eax
imul eax, eax, 0x18
mov eax, dword [eax + 0x42c64c]
cmp dword [eax], 0
cmovne edx, esi
push 0
push edx
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemInt]
jmp case.default.0x40243d
push edx
push edx
cmp dword [eax + 4], 0xff
sete al
movzx eax, al
lea eax, [eax + ecx + 3]
push eax
push ebx
call edi
push esi
push eax
call dword [ebp - 0x3c]
cmp dword [ebp - 0x40], 0
mov edx, 0x46530c
pop ecx
pop esi
jne 0x40295e
mov eax, dword [ebp - 0x30]
inc eax
imul eax, eax, 0x18
mov eax, dword [eax + 0x42c64c]
test eax, eax
je 0x40295e
mov edx, dword [eax]
push edi
push edx
push dword [ebp - 0x2c]
jmp 0x4033a0
sub esp, 0xc
push edi
call fcn.004014d0
jmp 0x402e9c
mov dword [ebp - 0x28], 0x465700
mov edx, 0xb
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x40299c
dec edx
jne 0x402994
xor eax, eax
jmp 0x4033ad
add eax, 8
mov dword [ebp - 0x28], eax
jmp 0x402982
mov dword [eax], 0x46530c
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0x46530c
mov dword [eax + 8], 0
jmp 0x4029d0
push esi
push esi
push 0x472d00
push 0x2d0
call fcn.00401426
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
je 0x40298d
push eax
push eax
push 0x2d4
push ebx
call fcn.004021ff
mov esi, eax
pop eax
pop edx
push 0x2d8
push ebx
call fcn.004021ff
mov edx, eax
mov eax, dword [ebp - 0x28]
pop ecx
push dword [eax]
call fcn.00428f74
add esp, 0x10
cmp eax, esi
jb 0x40321d
mov eax, dword [ebp - 0x28]
sub esp, 0xc
push dword [eax + 4]
call fcn.00428f74
add esp, 0x10
cmp eax, edx
jb 0x40321d
mov eax, dword [ebp - 0x28]
push 0x100
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextA]
push dword [eax]
push 0x2d4
push ebx
call esi
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp byte [eax], 0x2e
je 0x402a56
mov byte [eax], 0x2e
mov eax, dword [ebp - 0x28]
push 0x100
mov eax, dword [eax]
inc eax
push eax
push 0x2d4
push ebx
call esi
mov eax, dword [ebp - 0x28]
push 0x100
push dword [eax + 4]
push 0x2d8
push ebx
call esi
jmp 0x402aa3
push eax
push eax
push 0x472d00
push 0x2d0
call fcn.00401426
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x402aa3
mov edx, dword [eax + 8]
test edx, edx
mov dword [eax], edx
je 0x402aa3
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0xc]
add eax, 8
mov dword [eax - 4], edx
mov dword [ebp - 0x28], eax
jmp 0x402a82
push eax
push 0x465700
push section..text
push 0x2d0
jmp 0x402e97
push edi
push edi
push 0x472d00
push 0x2e4
call fcn.00401426
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
je 0x40298d
cmp dword [0x4656e8], 0
jne 0x40323e
jmp 0x40298d
mov edx, dword [ebp - 0x28]
push ecx
push ecx
add eax, edx
push eax
push edx
call fcn.00428f54
add esp, 0x10
push eax
push eax
push 0x2e8
push ebx
call fcn.004021ff
mov esi, eax
pop eax
pop edx
push 0x2e9
push ebx
call fcn.004021ff
mov ecx, dword [0x4656e8]
mov edx, eax
add esp, 0x10
xor eax, eax
test ecx, ecx
je 0x402b33
sub esp, 0xc
push ecx
call fcn.00428f74
add esp, 0x10
mov dword [ebp - 0x2c], eax
add eax, esi
sub esp, 0xc
lea eax, [edx + eax + 5]
push eax
call fcn.00428e70
add esp, 0x10
cmp dword [ebp - 0x2c], 0
mov edx, eax
je 0x402b6a
push edi
push edi
push dword [0x4656e8]
push eax
call fcn.00428f54
mov eax, dword [ebp - 0x2c]
add esp, 0x10
mov byte [edx + eax], 0x3b
jmp 0x402b71
mov dword [ebp - 0x2c], 0xffffffff
mov eax, dword [ebp - 0x2c]
push 0x100
mov dword [0x4656e8], edx
mov edi, dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [edx + eax + 1]
push eax
push 0x2e8
push ebx
call edi
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x4656e8]
inc eax
add edx, eax
cmp byte [edx], 0x2e
je 0x402bc4
mov dword [ebp - 0x2c], eax
mov byte [edx], 0x2e
mov edx, dword [0x4656e8]
mov eax, dword [ebp - 0x2c]
push 0x100
lea eax, [edx + eax + 1]
push eax
push 0x2e8
push ebx
call edi
mov eax, dword [ebp - 0x2c]
push 0x100
lea eax, [esi + eax + 2]
add eax, dword [0x4656e8]
push eax
push 0x2e9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
add esi, dword [0x4656e8]
add esi, dword [ebp - 0x2c]
mov byte [esi + 1], 0x3b
jmp 0x402c3d
push esi
push esi
push 0x472d00
push 0x2e4
call fcn.00401426
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
je 0x40298d
sub esp, 0xc
push 0x472d00
call fcn.00428f74
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
pop edi
pop ecx
xor ecx, ecx
cmp byte [edx + eax], 0x3b
sete cl
add eax, ecx
add eax, edx
push eax
push edx
call fcn.00428f54
add esp, 0x10
push esi
push dword [0x4656e8]
push 0x401081
push 0x2e4
jmp 0x402e97
push ecx
push ecx
push 0x472d00
push 0x2f8
call fcn.00401426
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
je 0x40298d
push ecx
push ecx
push 0x2fc
push ebx
call fcn.004021ff
pop edi
mov esi, eax
pop eax
push 0x2fd
push ebx
call fcn.004021ff
mov dword [ebp - 0x3c], eax
pop eax
pop edx
push 0x300
push ebx
call fcn.004021ff
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.0042912c
mov ecx, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.0041028c
mov edx, dword [ebp - 0x28]
push eax
mov edi, eax
call fcn.00428f74
sub eax, edx
mov edx, dword [ebp - 0x30]
add esp, 0x10
add eax, edi
mov edi, dword [ebp - 0x3c]
add edx, esi
lea edx, [edx + edi + 6]
cmp eax, edx
jae 0x402d34
mov eax, dword [ebp - 0x28]
mov byte [eax + 4], 0
push esi
push esi
push 0x2fc
push ebx
call fcn.004021ff
pop edi
mov esi, eax
pop eax
push 0x2fd
push ebx
call fcn.004021ff
mov dword [ebp - 0x3c], eax
pop eax
pop edx
push 0x300
push ebx
call fcn.004021ff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
lea edx, [esi + ecx]
lea eax, [eax + edx + 9]
mov dword [esp], eax
call fcn.00428e70
mov edx, dword [0x4656a8]
mov dword [ebp - 0x28], eax
add esp, 0x10
mov dword [eax], edx
mov eax, dword [ebp - 0x28]
mov dword [0x4656a8], eax
mov eax, dword [ebp - 0x28]
push 0x100
mov edi, dword [sym.imp.USER32.dll_GetDlgItemTextA]
add eax, 5
push eax
push 0x2fc
push ebx
call edi
mov eax, dword [ebp - 0x28]
push 0x100
lea eax, [eax + esi + 6]
push eax
push 0x2fd
push ebx
call edi
add esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
push 0x100
lea edx, [esi + eax + 7]
push edx
mov dword [ebp - 0x3c], edx
push 0x300
push ebx
call edi
mov edx, dword [ebp - 0x3c]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push eax
push 0x42a458
push edx
call edi
push 0x302
push ebx
call fcn.004021df
pop edx
pop ecx
cmp eax, 1
push 0x303
push ebx
sbb esi, esi
and esi, 0xfffffffc
call fcn.004021df
pop edx
pop ecx
add esi, 0x84
push 0x304
push ebx
mov ecx, esi
or ecx, 8
test eax, eax
cmovne esi, ecx
call fcn.004021df
pop edx
pop ecx
mov ecx, esi
push 0x306
push ebx
or ecx, 0x40
test eax, eax
cmove esi, ecx
call fcn.004021df
pop edx
pop ecx
mov ecx, esi
push 0x307
push ebx
or ecx, 2
test eax, eax
cmovne esi, ecx
call fcn.004021df
pop edx
pop ecx
mov ecx, esi
push 0x308
push ebx
or ecx, 0x20
test eax, eax
cmovne esi, ecx
call fcn.004021df
pop edx
pop ecx
mov ecx, esi
push 0x305
push ebx
or ecx, 0x10
test eax, eax
cmovne esi, ecx
call fcn.004021df
add esp, 0x10
test eax, eax
mov edx, dword [ebp - 0x3c]
je 0x402e59
push eax
push edx
or esi, 1
push str._smbox
push 0x472d00
call dword [sym.imp.USER32.dll_wsprintfA]
pop eax
pop edx
push 0x42a458
push 0x472d00
call edi
pop ecx
pop edi
mov eax, dword [ebp - 0x28]
mov ecx, esi
mov byte [eax + 4], cl
jmp 0x402e86
push eax
push eax
push 0x472d00
push 0x2f8
call fcn.00401426
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
je 0x40298d
mov byte [eax + 4], 0
push eax
push dword [0x4656a8]
push 0x4010e9
push 0x2f8
call fcn.004013c1
add esp, 0x10
jmp case.default.0x40243d
push edi
push edi
push 0x472d00
push 0x30c
call fcn.00401426
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
mov edx, 0x465ae0
je 0x40298d
mov ecx, dword [edx]
cmp eax, ecx
je 0x402ed6
test ecx, ecx
mov edx, ecx
jne 0x402ec8
jmp 0x402eda
mov eax, dword [eax]
mov dword [edx], eax
push eax
push eax
push 0x310
push ebx
call fcn.004021ff
mov edi, eax
pop eax
pop edx
push 0x318
push ebx
call fcn.004021ff
pop ecx
pop esi
push 0x31c
push ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 0
call fcn.004021df
add esp, 0x10
test eax, eax
je 0x402f27
push eax
push eax
push 0x31d
push ebx
call fcn.004021ff
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
sub esp, 0xc
add eax, edi
lea eax, [eax + ecx + 0xc]
push eax
call fcn.00428e70
lea edx, [eax + edi + 0xa]
mov dword [ebp - 0x28], eax
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov dword [eax + 4], edx
mov edx, dword [0x465ae0]
mov dword [eax], edx
mov eax, dword [ebp - 0x28]
push 0x100
mov dword [0x465ae0], eax
add eax, 9
push eax
push 0x310
push ebx
call esi
mov edx, dword [ebp - 0x28]
lea eax, [edx + edi + 0xa]
mov dword [edx + 4], eax
push 0x100
push eax
push 0x318
push ebx
call esi
add esp, 0x10
cmp dword [ebp - 0x30], 0
je 0x402fae
mov ecx, dword [ebp - 0x28]
mov al, byte [ebp - 0x3c]
mov edx, dword [ecx + 4]
inc eax
mov byte [ecx + 8], al
movsx eax, al
push 0x100
add eax, edx
push eax
push 0x31d
push ebx
call esi
push eax
push eax
push 0x31a
push ebx
call fcn.004021df
add esp, 0x10
test eax, eax
je 0x403007
mov eax, dword [ebp - 0x28]
cmp byte [eax + 9], 0x2f
jne 0x4032d2
jmp 0x403007
push eax
push eax
push 0x472d00
push 0x30c
call fcn.00401426
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
mov edx, 0x465ae0
je 0x40298d
mov ecx, dword [edx]
cmp eax, ecx
je 0x403003
test ecx, ecx
mov edx, ecx
jne 0x402ff5
jmp 0x403007
mov eax, dword [eax]
mov dword [edx], eax
push edi
push dword [0x465ae0]
push 0x401044
push 0x30c
jmp 0x402e97
push esi
push esi
push edi
push ebx
call fcn.004021df
mov esi, eax
pop eax
lea eax, [edi + 1]
and esi, 1
pop edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, 0x31a
pop ecx
pop esi
jne case.default.0x40243d
push ecx
push ecx
push 0x31b
push ebx
call fcn.004021ff
add esp, 0x10
test eax, eax
je 0x403395
jmp case.default.0x40243d
call fcn.0040cf60
mov dword [0x465808], 0x7ff
jmp 0x4031fd
call fcn.004224a1
jmp 0x4031fd
push 0
push str.Small_Server
push str.Small_HTTP_Server_ver._3.06.24_r_nby_Max_Feoktistov_r_nE_mail:_support_smallsrv.com_r_n__C__1999_2023_r_nMD5_cashe_function_derived_from_the_RSA_Data_Security__Inc._MD5_Message_Digest_Algorithm_r_n
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4031fd
cmp dword [0x472ce0], 0
jne case.default.0x40243d
call fcn.00401b5c
jmp case.default.0x40243d
sub edi, 0x15e
mov ebx, dword [edi*4 + 0x438224]
cmp byte [ebx + 7], 0x31
jne 0x403141
test byte [0x46579e], 4
je 0x403101
cmp dword [0x42a478], 0
je 0x403101
sub esp, 0xc
push 0x30
call fcn.00428e70
mov esi, eax
lea eax, [ebx + 0x10]
add ebx, 7
mov dword [esp], eax
push dword [0x42a69c]
push ebx
push str.https:___.9s:_u_s
jmp 0x40312e
cmp dword [0x42a688], 0x50
je 0x403141
cmp byte [ebx + 0x10], 0x3a
je 0x403141
sub esp, 0xc
push 0x30
call fcn.00428e70
mov esi, eax
lea eax, [ebx + 0x10]
mov dword [esp], eax
push dword [0x42a688]
push ebx
push str._.16s:_u_s
push esi
mov ebx, esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
mov dword [edi*4 + str.http:__smallsrv.com_index.htmnew], esi
push eax
push eax
push 1
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop eax
pop edx
jmp 0x4031fd
lea ebx, [edi - 0x168]
cmp ebx, 9
ja 0x4031fd
push eax
mov eax, dword [0x44a144]
push 0
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
add eax, 0x168
push eax
push dword [0x472cec]
call esi
push 8
push edi
push dword [0x472cec]
call esi
pop eax
mov ecx, dword [ebx*4 + 0x45c280]
mov dword [0x44a144], ebx
mov dword [0x42a044], ecx
call fcn.004036e8
jmp 0x4031fd
sub esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
add esp, 0xc
jmp 0x4031fd
call fcn.0040cfb5
jmp case.default.0x40243d
cmp dword [ebp + 0x10], 4
je 0x4031d1
cmp dword [ebp + 0x10], 1
jne case.default.0x40243d
push esi
push esi
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop eax
mov dword [0x42a49c], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x4033ad
mov eax, 1
jmp 0x4033ad
mov edx, dword [ebp + 0x10]
push ecx
push 0x472d00
and edx, 0xff8
push edx
push eax
jmp 0x4033a1
lea eax, [esi + edx + 4]
mov edi, dword [ebp - 0x28]
sub esp, 0xc
push eax
call fcn.00428e70
mov dword [edi], eax
lea eax, [eax + esi + 2]
add esp, 0x10
mov dword [edi + 4], eax
jmp 0x402a1d
push eax
push eax
push 0x2e8
push ebx
call fcn.004021ff
mov esi, eax
pop eax
pop edx
push 0x2e9
push ebx
call fcn.004021ff
mov edx, eax
mov dword [esp], 0x472d00
call fcn.00428f74
lea edi, [esi + edx]
inc eax
add esp, 0x10
mov dword [ebp - 0x2c], eax
lea edx, [edi + 1]
cmp eax, edx
jle 0x402ae9
mov edx, dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0x100
push dword [ebp - 0x28]
push 0x2e8
push ebx
mov dword [ebp - 0x3c], edx
call edx
mov eax, dword [ebp - 0x28]
push 0x100
mov edx, dword [ebp - 0x3c]
lea eax, [eax + esi + 1]
push eax
push 0x2e9
push ebx
call edx
mov eax, dword [ebp - 0x28]
mov byte [eax + esi], 0x3b
mov eax, dword [ebp - 0x28]
mov byte [eax + edi + 1], 0x3b
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
push esi
push esi
add edx, eax
lea eax, [eax + edi + 2]
push edx
push eax
jmp 0x402c35
cmp dword [0x465794], 0
mov eax, 0x439178
mov esi, 0x43917f
cmovs esi, eax
push eax
push eax
push 0x100
push 0x472d00
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
add eax, 0x472d00
push esi
push eax
call fcn.00428f54
pop eax
pop edx
push 1
push 0x472d00
call fcn.00403579
test eax, eax
mov esi, eax
pop ecx
pop edi
jg 0x403334
sub esp, 0xc
push 0x472d00
call fcn.004035ad
add esp, 0xc
test eax, eax
mov esi, eax
jle 0x403007
push ecx
push 2
push 0
push esi
call fcn.0040364b
mov dword [esp], 0x100
push 0x472d00
push 0x31b
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov edi, eax
push eax
mov eax, dword [ebp - 0x28]
add eax, 9
push eax
lea eax, [edi + 0x472d00]
push str.__s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add eax, edi
push eax
push 0x472d00
push esi
call fcn.00403625
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
jmp 0x403007
push edx
push 0x4391cb
push 0x31b
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
pop eax
jmp case.default.0x40243d
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10