Function at 0x40f630
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x419570
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4219cc]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4219cc]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x41ca3c
mov ecx, 0x421d30
call dword [sym.imp.MFC80.DLL_Ordinal_1482]
test eax, eax
je 0x41018d
mov ecx, dword [0x41ca2c]
mov eax, dword [str.querymonitorinfo:]
mov edx, dword [0x41ca30]
mov dword [esp + 0x58], ecx
mov cx, word [0x41ca38]
mov dword [esp + 0x54], eax
mov eax, dword [0x41ca34]
mov word [esp + 0x64], cx
push 0x421d28
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
call dword [sym.imp.MFC80.DLL_Ordinal_297]
xor edi, edi
mov dword [esp + 0xc4], edi
mov esi, 0x32
jmp 0x40f6e0
push 0x41bed8
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_911]
sub esi, 1
jne 0x40f6e0
push 0x32
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_3997]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 1
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 0
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor esi, esi
lea esp, [esp]
push esi
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_865]
xor al, 0x31
mov byte [esp + esi + 0x65], al
add esi, 1
cmp esi, 0x32
jl 0x40f730
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x9b], 0
call fcn.00407b80
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0xc8], 2
call fcn.00407ac0
lea ecx, [esp + 0x48]
call fcn.00407c00
mov edx, dword [0x421cac]
lea eax, [esp + 0x30]
push eax
push 0x43
lea ecx, [esp + 0x5c]
push ecx
push edx
mov byte [esp + 0xd4], 3
call fcn.004161e0
add esp, 0x10
lea ecx, [ebx + 0xca8]
call fcn.0040f070
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], edi
call fcn.00415de0
test eax, eax
jle 0x40f92b
mov ebp, dword [sym.imp.MSVCR80.dll_atoi]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
call fcn.00407fd0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.WARNCOUNT
mov edi, eax
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00416080
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call ebp
mov esi, eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.ERRCOUNT
mov dword [esp + 0x34], esi
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00416080
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call ebp
mov ecx, esp
mov dword [esp + 0x20], esp
push str.OFF24COUNT
mov dword [esp + 0x2c], eax
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00416080
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
add eax, ecx
add esp, 4
add eax, esi
je 0x40f90f
lea ecx, [ebx + 0xca8]
call fcn.0040f000
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.CODE
mov esi, eax
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00416080
push eax
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_781]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.TEXT
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00416080
push eax
lea ecx, [esi + 4]
call dword [sym.imp.MFC80.DLL_Ordinal_781]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.ORDERNO
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00416080
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call ebp
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c9e0
mov dword [esi + 8], eax
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00416080
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call ebp
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov esi, dword [esp + 0x28]
add esi, 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], esi
call fcn.00415de0
cmp esi, eax
jl 0x40f7bf
lea edi, [ebx + 0xc90]
mov ecx, edi
xor esi, esi
call fcn.00415de0
test eax, eax
jle 0x40fa39
lea ebp, [ebx + 0xc24]
push 0
push esi
mov ecx, ebp
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 0
push esi
lea ecx, [ebx + 0xc30]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 0
push esi
lea ecx, [ebx + 0xc3c]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 0
push esi
lea ecx, [ebx + 0xc48]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 0
push esi
lea ecx, [ebx + 0xc54]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 0
push esi
lea ecx, [ebx + 0xc60]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 0
push esi
lea ecx, [ebx + 0xc6c]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 0
push esi
lea ecx, [ebx + 0xc78]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 0
push esi
lea ecx, [ebx + 0xc84]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 0
push esi
mov ecx, edi
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 0
push esi
lea ecx, [ebx + 0xc9c]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
mov ecx, edi
add esi, 1
call fcn.00415de0
cmp esi, eax
jl 0x40f948
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea esi, [ebx + 0xca8]
mov ecx, esi
mov byte [esp + 0xc4], 4
xor ebp, ebp
call fcn.00415de0
test eax, eax
jle 0x410101
push ebp
mov ecx, esi
call fcn.00407fd0
mov edi, eax
lea ecx, [ebx + 0xc90]
mov dword [esp + 0x1c], edi
call fcn.00415de0
cmp ebp, eax
jl 0x40fec5
lea ecx, [ebx + 0xc24]
call fcn.00407d00
mov edi, eax
lea esi, [ebx + 0xad0]
push edi
mov ecx, esi
call fcn.00404080
mov edx, dword [0x421cb0]
push edx
mov ecx, edi
call fcn.00403790
fld dword [0x41c9dc]
push 0
push 0
push 0
push 1
sub esp, 8
fstp dword [esp + 4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x41ba68
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00403680
push 0x18
mov ecx, esi
call fcn.004038e0
push eax
push 0
push 5
mov ecx, edi
call fcn.00403560
lea ecx, [ebx + 0xc30]
call fcn.00407d00
mov edi, eax
push edi
mov ecx, esi
call fcn.00404080
mov eax, dword [0x421cb0]
push eax
mov ecx, edi
call fcn.00403790
push 0xff000000
mov ecx, edi
call fcn.00403660
mov ecx, dword [0x421c04]
push ecx
mov ecx, edi
call fcn.004037a0
push 0xa
push 0x19
push 0
push 5
mov ecx, edi
call fcn.00403560
lea ecx, [ebx + 0xc3c]
call fcn.00407d00
mov edi, eax
push edi
mov ecx, esi
call fcn.00404080
mov edx, dword [0x421cb0]
push edx
mov ecx, edi
call fcn.00403790
fld dword [0x41c9d8]
push 0
push 0
push 0
push 1
sub esp, 8
fstp dword [esp + 4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x41ba68
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00403680
lea ecx, [ebx + 0x4a0]
call fcn.00403960
push eax
mov ecx, edi
call fcn.00403670
push 0x18
push 0x1e
push 0
push 0x23
mov ecx, edi
call fcn.00403560
lea ecx, [ebx + 0xc48]
call fcn.00407d00
mov edi, eax
push edi
mov ecx, esi
call fcn.00404080
mov eax, dword [0x421cb0]
push eax
mov ecx, edi
call fcn.00403790
push 0xff000000
mov ecx, edi
call fcn.00403660
mov ecx, dword [0x421c00]
push ecx
mov ecx, edi
call fcn.004037a0
push 0xa
push 0x19
push 0
push 0x41
mov ecx, edi
call fcn.00403560
lea ecx, [ebx + 0xc54]
call fcn.00407d00
mov edi, eax
push edi
mov ecx, esi
call fcn.00404080
mov edx, dword [0x421cb0]
push edx
mov ecx, edi
call fcn.00403790
fld dword [0x41c9d8]
push 0
push 0
push 0
push 1
sub esp, 8
fstp dword [esp + 4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x41ba68
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00403680
lea ecx, [ebx + 0x4a0]
call fcn.00403960
push eax
mov ecx, edi
call fcn.00403670
push 0x18
push 0x1e
push 0
push 0x5f
mov ecx, edi
call fcn.00403560
lea ecx, [ebx + 0xc60]
call fcn.00407d00
mov edi, eax
push edi
mov ecx, esi
call fcn.00404080
mov eax, dword [0x421cb0]
push eax
mov ecx, edi
call fcn.00403790
push 0xff000000
mov ecx, edi
call fcn.00403660
mov ecx, dword [0x421bfc]
push ecx
mov ecx, edi
call fcn.004037a0
push 9
push 0x19
push 0
push 0x7d
mov ecx, edi
call fcn.00403560
lea ecx, [ebx + 0xc6c]
call fcn.00407d00
mov edi, eax
push edi
mov ecx, esi
call fcn.00404080
mov edx, dword [0x421cb0]
push edx
mov ecx, edi
call fcn.00403790
fld dword [0x41c9d8]
push 0
push 0
push 0
push 1
sub esp, 8
fstp dword [esp + 4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x41ba68
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00403680
lea ecx, [ebx + 0x578]
call fcn.00403960
push eax
mov ecx, edi
call fcn.00403670
push 0x18
push 0x1e
push 0
push 0x9b
mov ecx, edi
call fcn.00403560
lea ecx, [ebx + 0xc78]
call fcn.00407d00
mov edi, eax
push edi
mov ecx, esi
call fcn.00404080
mov eax, dword [0x421cb0]
push eax
mov ecx, edi
call fcn.00403790
push 0xff000000
mov ecx, edi
call fcn.00403660
mov ecx, dword [0x421bf8]
push ecx
mov ecx, edi
call fcn.004037a0
push 0xa
push 0x2f
push 0
push 0xb9
mov ecx, edi
call fcn.00403560
lea ecx, [ebx + 0xc84]
call fcn.00407d00
mov edi, eax
push edi
mov ecx, esi
call fcn.00404080
mov edx, dword [0x421cb0]
push edx
mov ecx, edi
call fcn.00403790
fld dword [0x41c9d8]
push 0
push 0
push 0
push 1
sub esp, 8
fstp dword [esp + 4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x41ba68
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00403680
lea ecx, [ebx + 0x650]
call fcn.00403960
push eax
mov ecx, edi
call fcn.00403670
push 0x18
push 0x1e
push 0
push 0xed
mov ecx, edi
call fcn.00403560
lea ecx, [ebx + 0xc90]
call fcn.00407c40
mov edi, eax
push edi
mov ecx, esi
call fcn.00404080
mov eax, dword [0x421ce0]
push eax
mov ecx, edi
call fcn.00403790
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c9d0
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.004035a0
fld dword [0x41bd58]
push 0
push 1
push 0
push 0
sub esp, 8
fstp dword [esp + 4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x41ba68
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov ecx, edi
call fcn.00403680
push 5
mov ecx, edi
call fcn.00403780
push 0xff0000
mov ecx, edi
call fcn.00403670
push 0x14
push 0x24
push 0
push 0x106
mov ecx, edi
call fcn.00403560
lea ecx, [ebx + 0xc9c]
call fcn.00407d00
mov edi, eax
push edi
mov ecx, esi
call fcn.00404080
mov ecx, dword [0x421cb0]
push ecx
mov ecx, edi
call fcn.00403790
push 1
mov ecx, esi
call fcn.004038e0
sub eax, 0xa
push eax
push 0
push 5
mov ecx, edi
call fcn.00403560
push 0x808080
mov ecx, edi
call fcn.00403660
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.MFC80.DLL_Ordinal_2322]
push edx
lea eax, [ebp + 1]
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push 0x41c9c8
push eax
call esi
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_297]
push ebp
lea ecx, [ebx + 0xc24]
call fcn.00407fd0
mov ecx, eax
call fcn.004035a0
mov eax, dword [edi + 0xc]
push eax
lea ecx, [esp + 0x1c]
push 0x41c6c8
push ecx
call esi
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_297]
push ebp
lea ecx, [ebx + 0xc3c]
call fcn.00407fd0
mov ecx, eax
call fcn.004035a0
mov eax, dword [edi + 0x10]
push eax
lea ecx, [esp + 0x1c]
push 0x41c6c8
push ecx
call esi
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_297]
push ebp
lea ecx, [ebx + 0xc54]
call fcn.00407fd0
mov ecx, eax
call fcn.004035a0
mov eax, dword [edi + 0x14]
push eax
lea ecx, [esp + 0x1c]
push 0x41c6c8
push ecx
call esi
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_297]
push ebp
lea ecx, [ebx + 0xc6c]
call fcn.00407fd0
mov ecx, eax
call fcn.004035a0
mov eax, dword [edi + 0x18]
push eax
lea ecx, [esp + 0x1c]
push 0x41c6c8
push ecx
call esi
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_297]
lea edi, [ebx + 0xc84]
push ebp
mov ecx, edi
call fcn.00407fd0
mov ecx, eax
call fcn.004035a0
push ebp
lea eax, [esp + 0x1c]
push 0x41c6c8
push eax
call esi
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_297]
lea esi, [ebx + 0xc90]
push ebp
mov ecx, esi
call fcn.00407fd0
mov ecx, eax
call fcn.004037d0
push 1
push ebp
lea ecx, [ebx + 0xc24]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 1
push ebp
lea ecx, [ebx + 0xc30]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 1
push ebp
lea ecx, [ebx + 0xc3c]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 1
push ebp
lea ecx, [ebx + 0xc48]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 1
push ebp
lea ecx, [ebx + 0xc54]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 1
push ebp
lea ecx, [ebx + 0xc60]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 1
push ebp
lea ecx, [ebx + 0xc6c]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 1
push ebp
lea ecx, [ebx + 0xc78]
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 1
push ebp
mov ecx, edi
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
push 1
push ebp
mov ecx, esi
call fcn.00407fd0
mov ecx, eax
call fcn.00403510
mov ebp, dword [esp + 0x1c]
lea esi, [ebx + 0xca8]
mov ecx, esi
call fcn.00415de0
cmp ebp, eax
jl 0x40fa62
mov ecx, esi
call fcn.00415de0
push eax
lea eax, [esp + 0x1c]
push 0x41c6c8
push eax
call dword [sym.imp.MFC80.DLL_Ordinal_2322]
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_297]
lea ecx, [ebx + 0xb3c]
call fcn.004035a0
mov ecx, ebx
call fcn.0040e990
mov ecx, ebx
call fcn.0040ea00
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 6
call fcn.0040aef0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc4], 5
call fcn.00408d70
lea ecx, [esp + 0x30]
mov byte [esp + 0xc4], 0
call fcn.00407bd0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00417312
add esp, 0xb4
ret