Function at 0x4226b0
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x1c
mov eax, dword [0x446b10]
xor eax, esp
mov dword [esp + 0x18], eax
test byte [0x4c5ee4], 4
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, 0x447c50
push edi
mov dword [esp + 0x10], esi
je 0x4226e4
mov dword [esp + 0x10], 0x447c52
push 0x402cef
push ebp
call fcn.0040cba4
push 0x406888
mov edi, 0x20000
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
cmp word [esp + 0x34], 0
jbe 0x422a32
movzx eax, word [esp + 0x34]
mov dword [esp + 0x14], eax
push 8
push ebx
lea eax, [esp + 0x20]
push 0x10
push eax
call dword [sym.imp.MSVCR80.dll_strncpy_s]
lea eax, [esp + 0x28]
push eax
push 0x406874
push edi
push esi
mov byte [esp + 0x40], 0
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x20
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
push dword [ebx + 8]
push 0x406850
push edi
push esi
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x10
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
push dword [ebx + 0xc]
push 0x406828
push edi
push esi
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x10
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
push dword [ebx + 0x10]
push 0x406800
push edi
push esi
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x10
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
push dword [ebx + 0x14]
push 0x4067d4
push edi
push esi
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x10
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
push dword [ebx + 0x18]
push 0x4067a4
push edi
push esi
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x10
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
push dword [ebx + 0x1c]
push 0x406774
push edi
push esi
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x10
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
movzx eax, word [ebx + 0x20]
push eax
push 0x406740
push edi
push esi
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x10
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
movzx eax, word [ebx + 0x22]
push eax
push 0x40670c
push edi
push esi
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x10
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
push dword [ebx + 0x24]
push 0x4066e4
push edi
push esi
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x10
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test byte [ebx + 0x24], 1
je 0x422880
push 0x4066bc
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test byte [ebx + 0x24], 0x20
je 0x4228a0
push 0x406698
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test byte [ebx + 0x24], 0x40
je 0x4228c0
push 0x406668
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test byte [ebx + 0x24], 0x80
je 0x4228e0
push 0x406634
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test word [ebx + 0x24], 0x4000
je 0x422902
push 0x406604
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test dword [ebx + 0x24], 0x1000000
je 0x422925
push 0x4065d8
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test dword [ebx + 0x24], 0x2000000
je 0x422948
push 0x4065ac
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test dword [ebx + 0x24], 0x4000000
je 0x42296b
push 0x406580
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test dword [ebx + 0x24], 0x8000000
je 0x42298e
push 0x406554
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test dword [ebx + 0x24], 0x10000000
je 0x4229b1
push 0x40652c
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test dword [ebx + 0x24], 0x20000000
je 0x4229d4
push 0x406504
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test dword [ebx + 0x24], 0x40000000
je 0x4229f7
push 0x4064e0
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
test dword [ebx + 0x24], 0x80000000
je 0x422a1a
push 0x4064b8
push edi
push esi
call dword [sym.imp.MSVCR80.dll_strcpy_s]
add esp, 0xc
push dword [esp + 0x10]
push ebp
call fcn.0040cba4
push 0x402cef
push ebp
call fcn.0040cba4
add ebx, 0x28
dec dword [esp + 0x14]
jne 0x422723
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043eef0
add esp, 0x1c
ret 0xc