Function at 0x40c650
Capabilities:
Contain obfuscated stackstrings
Create directory
Get process heap flags
Get process heap force flags
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x410fe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor esi, esi
push 0x41646c
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], esi
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x34]
mov dword [esp + 0x498], esi
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x24]
mov byte [esp + 0x498], 1
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x498], 2
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x20]
mov byte [esp + 0x498], 3
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x40]
mov byte [esp + 0x498], 4
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x30]
mov byte [esp + 0x498], 5
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x498], 6
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x14]
mov byte [esp + 0x498], 7
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x498], 8
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x44]
mov byte [esp + 0x498], 9
call sub.MFC42.DLL_CString::CString_1
push 0x41646c
lea ecx, [esp + 0x48]
mov byte [esp + 0x498], 0xa
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 0x164]
mov byte [esp + 0x498], 0xb
call fcn.00401000
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x284]
mov bl, 0xc
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x388]
rep stosd dword es:[edi], eax
mov byte [esp + 0x494], bl
lea eax, [esp + 0x34]
push eax
push 0x3f0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
lea ecx, [esp + 0x30]
push ecx
push 0x3f1
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
push 0x419
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push str.Scanner
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x498], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x494], bl
call fcn.0040f2ca
lea edx, [esp + 0x20]
lea eax, [esp + 0x14]
push edx
push str.KM_TWAIN
push eax
call sub.MFC42.DLL_operator_2
push str..ini
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x4a0], 0xe
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x498], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x494], 0xe
call fcn.0040f2ca
lea ecx, [esp + 0x14]
mov byte [esp + 0x494], bl
call fcn.0040f2ca
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push str.LSTSCN
push eax
call sub.MFC42.DLL_operator_2
push str..xml
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x4a0], 0x10
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x498], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x494], 0x10
call fcn.0040f2ca
lea ecx, [esp + 0x18]
mov byte [esp + 0x494], bl
call fcn.0040f2ca
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push str.SCNLST
push eax
call sub.MFC42.DLL_operator_2
push str..xml
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x4a0], 0x12
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x498], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x494], 0x12
call fcn.0040f2ca
lea ecx, [esp + 0x18]
mov byte [esp + 0x494], bl
call fcn.0040f2ca
lea edi, [ebp + 0x68]
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.004099e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x498], 0x14
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x494], bl
call fcn.0040f2ca
lea eax, [esp + 0x10]
push 0x4161ec
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator
push 0x4166e0
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x4a0], 0x15
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x498], 0x16
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x494], 0x15
call fcn.0040f2ca
lea ecx, [esp + 0x18]
mov byte [esp + 0x494], bl
call fcn.0040f2ca
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll__mkdir]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0x4161d4
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x498], 0x17
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x494], bl
call fcn.0040f2ca
mov eax, dword [esp + 0x10]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x10]
push 0x4161ec
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x4a0], 0x18
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x498], 0x19
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x494], 0x18
call fcn.0040f2ca
lea ecx, [esp + 0x18]
mov byte [esp + 0x494], bl
call fcn.0040f2ca
mov ecx, ebp
call fcn.0040db30
cmp eax, 6
jne 0x40cacd
mov eax, dword [0x4166f0]
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push ecx
push str.DefaultUse
push str.Setting
call esi
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
push 0x437
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov eax, dword [0x4166f0]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push str.Type
push str.Setting
call esi
jmp 0x40cbb7
cmp eax, 7
jne 0x40cb4f
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
push 0x437
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov eax, dword [0x4166f0]
lea ecx, [esp + 0x388]
push eax
push 0x104
push ecx
push 0x41646c
push str.Type
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x38c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0040ac60
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x498], 0x1a
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x494], bl
call fcn.0040f2ca
jmp 0x40cbb1
test eax, eax
jne 0x40cbb1
lea ecx, [esp + 0x3c]
push ecx
push 0x437
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
push 0x436
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov eax, dword [0x4166f0]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push ecx
push str.Type
push str.Setting
call esi
mov edx, dword [0x4166f0]
push edx
push 0x416074
push str.DefaultUse
push str.Setting
call esi
mov dword [ebp + 0x60], 6
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x4a0], 0x1b
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov byte [esp + 0x4a4], 0x1c
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x4a8], 0x1d
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0x4ac], 0x1e
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
mov byte [esp + 0x4b0], 0x1f
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x4ac], bl
call fcn.00409c30
mov ecx, edi
call fcn.00409a90
lea ecx, [esp + 0x284]
push 0xa
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__itoa]
mov edx, dword [0x4166f0]
mov ecx, dword [esp + 0x34]
add esp, 0xc
lea eax, [esp + 0x284]
push edx
push eax
push 0x41638c
push ecx
call esi
push 0x429
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
push 0x42a
mov ecx, ebp
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
push 0
push 0
mov eax, dword [edx + 0x20]
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0xf0
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x40ccf4
cmp eax, 1
jne 0x40cd13
mov eax, dword [esp + 0x10]
push eax
push 0x416074
jmp 0x40cd07
cmp ecx, 1
jne 0x40cd13
test eax, eax
jne 0x40cd13
mov ecx, dword [esp + 0x10]
push ecx
push 0x416090
push str.Unit
push str.Contents
call esi
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
push 0x437
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0040ac60
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x498], 0x20
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x494], bl
call fcn.0040f2ca
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x416074
push edx
call ebx
add esp, 8
test eax, eax
je 0x40d059
mov eax, dword [esp + 0x1c]
push 0x4162a8
push eax
call ebx
add esp, 8
test eax, eax
je 0x40d059
mov ecx, dword [esp + 0x1c]
push 0x416078
push ecx
call ebx
add esp, 8
test eax, eax
je 0x40d059
push 0x427
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
push 0x428
mov ecx, ebp
mov edi, eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xf0
push edx
call ebx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x20]
push 0
push 0
push 0xf0
push eax
call ebx
xor edi, edi
cmp eax, edi
jne 0x40ce03
cmp dword [esp + 0x18], 1
jne 0x40ce3c
mov dword [esp + 0x24], edi
jmp 0x40ce3c
cmp eax, 1
jne 0x40ce3c
cmp dword [esp + 0x18], edi
jne 0x40ce3c
push edi
push edi
push 0x41c
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, 5
mov dword [esp + 0x24], eax
jle 0x40ce2f
mov dword [esp + 0x24], 5
jmp 0x40ce3c
cmp eax, 1
jge 0x40ce3c
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x24]
push 1
push ecx
push 0x41c
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemInt
lea edx, [esp + 0x48]
mov ecx, ebp
push edx
push 0x41c
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push str.Compression
push str.Contents
call esi
push edi
push edi
push 0x42b
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItemInt
cmp eax, 5
jle 0x40ce90
mov eax, 5
jmp 0x40ce9a
cmp eax, 1
jge 0x40ce9a
mov eax, 1
push 1
push eax
push 0x42b
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemInt
lea edx, [esp + 0x38]
mov ecx, ebp
push edx
push 0x42b
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push str.CompressionGray
push str.Contents
call esi
mov edx, dword [esp + 0x1c]
push 0x41607c
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x40d014
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4166e4]
push eax
push ecx
push str.Auth
push str.Authentication
call esi
mov edx, dword [esp + 0x10]
mov eax, dword [0x4166e8]
push edx
push eax
push str.Account
push str.Authentication
call esi
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4166d8]
push ecx
push edx
push 0x41625c
push str.Authentication
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4166f4]
push eax
push ecx
push str.UserName
push str.Authentication
call esi
push 0x80
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40cffa
mov edx, dword [0x4166ec]
lea eax, [esp + 0x5c]
push edx
push 0x416110
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x20
xor eax, eax
mov edi, ebx
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
lea edi, [esp + 0x68]
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push 0x80
dec ecx
push ebx
push ecx
push edx
push 0x416244
push 1
call fcn.00402500
add esp, 0x28
test al, al
je 0x40cff1
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x5c]
mov esi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x5c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, 0x4166ec
call sub.MFC42.DLL_CString::operator
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [0x4166ec]
push edx
push eax
push str.Password
push str.Authentication
jmp 0x40d26f
mov ecx, dword [esp + 0x10]
push ecx
push 0x416090
push str.Auth
push str.Authentication
call esi
mov edx, dword [esp + 0x10]
push edx
push 0x41646c
push str.UserName
push str.Authentication
call esi
mov eax, dword [esp + 0x10]
push eax
push 0x41646c
push str.Password
push str.Authentication
jmp 0x40d26f
lea edi, [ebp + 0x118]
mov ecx, ebp
push edi
push 0x440
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
mov ecx, dword [esp + 0x10]
mov edi, dword [edi]
push ecx
push edi
push str.ScannerAddress
push str.Contents
call esi
mov edx, dword [esp + 0x1c]
push 0x4162a8
push edx
call ebx
add esp, 8
test eax, eax
jne 0x40d0bd
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4166e4]
push eax
push ecx
push str.Auth
push str.Authentication
call esi
mov edx, dword [esp + 0x10]
mov eax, dword [0x4166f4]
push edx
push eax
push str.UserName
jmp 0x40d127
mov ecx, dword [esp + 0x1c]
push 0x416078
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x40d12e
mov edx, dword [esp + 0x10]
mov eax, dword [0x4166e4]
push edx
push eax
push str.Auth
push str.Authentication
call esi
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4166f4]
push ecx
push edx
push str.UserName
push str.Authentication
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4166e8]
push eax
push ecx
push str.Account
push str.Authentication
call esi
mov edx, dword [esp + 0x10]
mov eax, dword [0x4166d8]
push edx
push eax
push 0x41625c
push str.Authentication
call esi
push 0x80
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40d1e4
mov ecx, dword [0x4166ec]
lea edx, [esp + 0x5c]
push ecx
push 0x416110
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x20
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
lea edi, [esp + 0x68]
push eax
or ecx, 0xffffffff
xor eax, eax
push 0x80
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
lea ecx, [esp + 0x78]
push ecx
push 0x416244
push 1
call fcn.00402500
add esp, 0x28
test al, al
je 0x40d1db
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x5c]
mov esi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x5c]
mov edx, ecx
lea eax, [esp + 0x5c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x4166ec
call sub.MFC42.DLL_CString::operator
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4166f4]
push ecx
push edx
push str.UserName
push str.Authentication
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4166ec]
push eax
push ecx
push str.Password
push str.Authentication
call esi
push 0x448
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esp + 0x1c]
push 0x416078
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x40d271
push eax
push eax
mov eax, dword [edi + 0x20]
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x40d25b
mov ecx, dword [esp + 0x10]
push ecx
push 0x416074
jmp 0x40d265
mov edx, dword [esp + 0x10]
push edx
push 0x416090
push 0x4161ac
push str.Contents
call esi
lea ecx, [esp + 0x280]
mov byte [esp + 0x494], 0x28
call fcn.0040f2ca
lea ecx, [esp + 0x27c]
mov byte [esp + 0x494], 0x27
call fcn.0040f2ca
lea ecx, [esp + 0x278]
mov byte [esp + 0x494], 0x26
call fcn.0040f2ca
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x494], 0x25
call fcn.00406eb0
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x494], 0x24
call fcn.0040f2ca
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x494], 0x23
call fcn.0040f2ca
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x494], 0x22
call fcn.0040f2ca
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x494], 0x21
call fcn.0040f2ca
lea ecx, [esp + 0x160]
mov byte [esp + 0x494], 0xb
call fcn.0040f2d0
lea ecx, [esp + 0x44]
mov byte [esp + 0x494], 0xa
call fcn.0040f2ca
lea ecx, [esp + 0x40]
mov byte [esp + 0x494], 9
call fcn.0040f2ca
lea ecx, [esp + 0x48]
mov byte [esp + 0x494], 8
call fcn.0040f2ca
lea ecx, [esp + 0x10]
mov byte [esp + 0x494], 7
call fcn.0040f2ca
lea ecx, [esp + 0x28]
mov byte [esp + 0x494], 6
call fcn.0040f2ca
lea ecx, [esp + 0x2c]
mov byte [esp + 0x494], 5
call fcn.0040f2ca
lea ecx, [esp + 0x3c]
mov byte [esp + 0x494], 4
call fcn.0040f2ca
lea ecx, [esp + 0x1c]
mov byte [esp + 0x494], 3
call fcn.0040f2ca
lea ecx, [esp + 0x38]
mov byte [esp + 0x494], 2
call fcn.0040f2ca
lea ecx, [esp + 0x20]
mov byte [esp + 0x494], 1
call fcn.0040f2ca
lea ecx, [esp + 0x30]
mov byte [esp + 0x494], 0
call fcn.0040f2ca
lea ecx, [esp + 0x34]
mov dword [esp + 0x494], 0xffffffff
call fcn.0040f2ca
mov ecx, dword [esp + 0x48c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x488
ret