Function at 0x404cb0
Capabilities:
Check os version
Create directory
Hide graphical window
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4185c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xad8
mov eax, dword [0x42139c]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
xor eax, ebp
mov dword [esp + 0x34], ecx
push ebx
mov dword [esp + 0xad4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
xor ebx, ebx
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], eax
cmp dword [0x4221c8], ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x94], edi
mov dword [0x42231c], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x41967c
jne 0x404d41
mov dword [esp + 0x40], str.Select_destination_folder.
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x48], 0x41
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
cmp esi, ebx
je 0x405390
lea eax, [esp + 0x8c8]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x8c8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [0x4221c8]
mov eax, dword [0x422308]
push ebx
push 0x404ca0
push ebx
add edx, 0x3f3
push edx
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
mov dword [0x422318], eax
call esi
mov ecx, dword [0x422318]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x4052cf
jmp 0x404de0
mov edx, dword [edi + ebx*4]
mov eax, dword [0x4221cc]
mov ecx, dword [eax + edx*4]
push ecx
lea edx, [esp + 0xac]
push edx
call fcn.0040e40e
add esp, 8
lea eax, [esp + 0xa8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0xa8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [esp + 0xa8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindNextComponentW]
mov edx, eax
test edx, edx
mov dword [esp + 0x10], edx
je 0x404eb4
jmp 0x404e40
mov edx, dword [esp + 0x10]
lea ebx, [ebx]
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x6b8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xa8]
sub edx, eax
sar edx, 1
push edx
mov ecx, eax
push ecx
lea edx, [esp + 0x6c0]
push edx
call fcn.0040ee5e
add esp, 0xc
lea eax, [esp + 0x6b8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x404e9a
push eax
lea ecx, [esp + 0x6bc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4053b3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindNextComponentW]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x404e36
mov edi, dword [esp + 0x94]
mov eax, dword [edi + ebx*4]
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + eax*4]
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne case.default.0x404f4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov dword [esp + 0x24], eax
je 0x404f00
cmp eax, 0x50
jne 0x405506
mov eax, dword [0x42231c]
test eax, eax
mov eax, dword [0x422318]
jne 0x404f57
push 0
push eax
call esi
mov ecx, dword [edi + ebx*4]
mov edx, dword [0x4221cc]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x4221c8]
mov edx, dword [0x422308]
push eax
push 0x404bd0
push 0
add ecx, 0x3ed
push ecx
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
add eax, 0xfffffe6f
cmp eax, 3
ja case.default.0x404f4b
jmp dword [eax*4 + 0x405ae0]
mov eax, dword [0x422318]
push 5
push eax
call esi
mov ecx, dword [0x422318]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4221cc]
mov edx, dword [edi + ebx*4]
mov ecx, dword [eax + edx*4]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
xor ecx, ecx
push ecx
push ecx
push ecx
xor eax, eax
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x40566f
mov eax, dword [0x422318]
mov edx, dword [edi + ebx*4]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [0x4221d4]
push edx
push eax
push ecx
mov dword [esp + 0x38], 0
call fcn.00405fa0
add esp, 0x14
test eax, eax
mov dword [esp + 0x1c], eax
je 0x405147
mov edx, dword [0x422318]
push 0
push edx
call esi
mov eax, dword [esp + 0x1c]
add eax, 4
cmp eax, 5
ja case.0x404ffe.0
jmp dword [eax*4 + 0x405af0]
mov edx, dword [0x422318]
push 5
push edx
call esi
mov eax, dword [0x422318]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.default.0x404f4b
mov ecx, dword [0x422318]
push 5
push ecx
mov dword [0x42231c], 1
call esi
mov edx, dword [0x422318]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi + ebx*4]
mov ecx, dword [0x4221cc]
mov edx, dword [ecx + eax*4]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edx
jmp 0x404f87
mov eax, dword [0x4221c8]
add eax, 0xc09
movzx ecx, ax
push ecx
lea ecx, [esp + 0xa0]
call fcn.00402200
mov dword [esp + 0x2c], eax
push str._RC23_
lea ecx, [esp + 0xa4]
mov dword [esp + 0xaf0], 9
call fcn.00402160
mov dword [esp + 0x1c], eax
mov edx, dword [0x4221c8]
add edx, 0xbcb
movzx eax, dx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xaf0], 0xa
call fcn.00402200
mov ecx, dword [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0xaf8], 0xb
call fcn.004020b0
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
mov eax, dword [eax]
add esp, 0xc
push 0x30
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x88]
call fcn.00401ac0
lea ecx, [esp + 0x60]
call fcn.00401ac0
lea ecx, [esp + 0xa0]
call fcn.00401ac0
lea ecx, [esp + 0x9c]
mov dword [esp + 0xaec], 0xffffffff
call fcn.00401ac0
mov edx, dword [0x422318]
push 5
push edx
call esi
mov eax, dword [0x422318]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [edi + ebx*4]
mov edx, dword [0x4221cc]
mov eax, dword [edx + ecx*4]
lea ecx, [eax + 0x440]
push ecx
lea edx, [eax + 0x438]
push edx
add eax, 0x430
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4052b8
mov ecx, dword [0x422318]
push eax
push ecx
call esi
mov edx, dword [0x4221c8]
add edx, 0xc09
movzx eax, dx
push eax
lea ecx, [esp + 0x2c]
call fcn.00402200
mov dword [esp + 0x1c], eax
push str._RC28_
lea ecx, [esp + 0x24]
mov dword [esp + 0xaf0], 0x18
call fcn.00402160
mov dword [esp + 0x2c], eax
mov ecx, dword [0x4221c8]
add ecx, 0xbd7
movzx edx, cx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xaf0], 0x19
call fcn.00402200
mov ecx, dword [esp + 0x2c]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0xaf8], 0x1a
call fcn.004020b0
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov eax, dword [eax]
add esp, 0xc
push 0x30
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40522c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xaec], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405252
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xaec], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0xaec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x422318]
push 5
push eax
call esi
mov ecx, dword [0x422318]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
inc ebx
cmp ebx, eax
jl 0x404de0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x422318]
push 0
push eax
call esi
mov ecx, dword [0x422318]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
push ecx
call edi
mov edx, dword [0x4221c8]
add edx, 0xbc3
movzx eax, dx
push eax
lea ecx, [esp + 0x20]
call fcn.00402200
mov esi, eax
mov ecx, dword [0x4221c8]
add ecx, 0xbbf
movzx edx, cx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0xaf0], 0x1b
call fcn.00402200
mov esi, dword [esi]
mov eax, dword [eax]
push 0x40
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0xaec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405389
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
push eax
call edi
mov ecx, dword [esp + 0xae4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xadc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d4a6
mov esp, ebp
pop ebp
ret
mov eax, dword [0x422318]
push 0
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x6bc]
push ecx
lea edx, [esp + 0x2c0]
push str.:__s__RC20:_d_
push edx
mov dword [esp + 0x34], eax
call fcn.0040d64f
mov eax, dword [0x4221c8]
add eax, 0xbd1
movzx ecx, ax
add esp, 0x10
push ecx
lea ecx, [esp + 0x18]
call fcn.00402200
mov esi, eax
lea edx, [esp + 0x2b8]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xaf0], 0
call fcn.00402200
mov edi, eax
mov eax, dword [0x4221c8]
add eax, 0xbc9
movzx ecx, ax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xaf0], 1
call fcn.00402200
push edi
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xaf8], 2
call fcn.004020b0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0xc
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405480
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xaec], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4054a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xaec], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4054cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xaec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4054f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x422318]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x405390
mov ecx, dword [0x422318]
push 0
push ecx
call esi
mov edx, dword [esp + 0x24]
mov eax, dword [edi + ebx*4]
mov ecx, dword [0x4221cc]
push edx
mov edx, dword [ecx + eax*4]
push edx
lea eax, [esp + 0x2c0]
push str.:__s__RC21:_d_
push eax
call fcn.0040d64f
mov ecx, dword [0x4221c8]
add ecx, 0xbd1
movzx edx, cx
add esp, 0x10
push edx
lea ecx, [esp + 0x18]
call fcn.00402200
mov esi, eax
lea eax, [esp + 0x2b8]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0xaf0], 3
call fcn.00402200
mov edi, eax
mov ecx, dword [0x4221c8]
add ecx, 0xbd5
movzx edx, cx
mov bl, 4
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xaf0], bl
call fcn.00402200
push edi
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xaf8], 5
call fcn.004020b0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0xc
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4055d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xaec], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4055fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xaec], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405623
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xaec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40564c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x422318]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x405390
mov ecx, dword [0x422318]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x405390
mov edx, dword [0x422318]
push 0
push edx
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4221cc]
push eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + ebx*4]
mov edx, dword [ecx + eax*4]
push edx
lea eax, [esp + 0x2c0]
push str.:__s__RC22:_d_
push eax
call fcn.0040d64f
mov ecx, dword [0x4221c8]
add ecx, 0xbd1
movzx edx, cx
add esp, 0x10
push edx
lea ecx, [esp + 0x18]
call fcn.00402200
mov esi, eax
lea eax, [esp + 0x2b8]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0xaf0], 6
call fcn.00402200
mov edi, eax
mov ecx, dword [0x4221c8]
add ecx, 0xbd5
movzx edx, cx
mov bl, 7
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xaf0], bl
call fcn.00402200
push edi
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xaf8], 8
call fcn.004020b0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0xc
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405747
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xaec], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40576c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xaec], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405792
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xaec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4057bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x422318]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x405390
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x2bc]
push str._RC24:_d_
push edx
call fcn.0040d64f
mov eax, dword [0x4221c8]
add eax, 0xbd1
movzx ecx, ax
add esp, 0xc
push ecx
lea ecx, [esp + 0x58]
call fcn.00402200
mov esi, eax
lea edx, [esp + 0x2b8]
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0xaf0], 0xc
call fcn.00402200
mov edi, eax
mov eax, dword [0x4221c8]
add eax, 0xbcf
movzx ecx, ax
push ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0xaf0], 0xd
call fcn.00402200
push edi
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0xaf8], 0xe
call fcn.004020b0
mov ecx, dword [esi]
mov edx, dword [eax]
add esp, 0xc
push 0x10
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x68]
call fcn.00401ac0
lea ecx, [esp + 0x90]
call fcn.00401ac0
lea ecx, [esp + 0x70]
call fcn.00401ac0
lea ecx, [esp + 0x54]
jmp 0x405aab
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x2bc]
push str._RC25:_d_
push ecx
call fcn.0040d64f
mov edx, dword [0x4221c8]
add edx, 0xbd1
movzx eax, dx
add esp, 0xc
push eax
lea ecx, [esp + 0xa8]
call fcn.00402200
mov esi, eax
lea ecx, [esp + 0x2b8]
push ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0xaf0], 0xf
call fcn.00402200
mov edi, eax
mov edx, dword [0x4221c8]
add edx, 0xbc7
movzx eax, dx
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xaf0], 0x10
call fcn.00402200
push edi
push eax
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0xaf8], 0x11
call fcn.004020b0
mov edx, dword [esi]
mov eax, dword [eax]
add esp, 0xc
push 0x10
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x78]
call fcn.00401ac0
lea ecx, [esp + 0x98]
call fcn.00401ac0
lea ecx, [esp + 0x80]
call fcn.00401ac0
lea ecx, [esp + 0xa4]
jmp 0x405aab
mov ecx, dword [0x4221c8]
add ecx, 0xbd1
movzx edx, cx
push edx
lea ecx, [esp + 0x70]
call fcn.00402200
mov esi, eax
push str._RC26_
lea ecx, [esp + 0x68]
mov dword [esp + 0xaf0], 0x12
call fcn.00402160
mov edi, eax
mov eax, dword [0x4221c8]
add eax, 0xbc1
movzx ecx, ax
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0xaf0], 0x13
call fcn.00402200
push edi
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0xaf8], 0x14
call fcn.004020b0
mov ecx, dword [esi]
mov edx, dword [eax]
add esp, 0xc
push 0x10
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x58]
call fcn.00401ac0
lea ecx, [esp + 0x5c]
call fcn.00401ac0
lea ecx, [esp + 0x64]
call fcn.00401ac0
lea ecx, [esp + 0x6c]
jmp 0x405aab
mov eax, dword [0x4221c8]
add eax, 0xbd1
movzx ecx, ax
push ecx
lea ecx, [esp + 0x90]
call fcn.00402200
mov esi, eax
push str._RC27_
lea ecx, [esp + 0x88]
mov dword [esp + 0xaf0], 0x15
call fcn.00402160
mov edi, eax
mov edx, dword [0x4221c8]
add edx, 0xbc1
movzx eax, dx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xaf0], 0x16
call fcn.00402200
push edi
push eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0xaf8], 0x17
call fcn.004020b0
mov edx, dword [esi]
mov eax, dword [eax]
add esp, 0xc
push 0x10
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x74]
call fcn.00401ac0
lea ecx, [esp + 0x7c]
call fcn.00401ac0
lea ecx, [esp + 0x84]
call fcn.00401ac0
lea ecx, [esp + 0x8c]
call fcn.00401ac0
mov ecx, dword [0x4221d4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
mov eax, dword [0x422318]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
push eax
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
jmp 0x405390