Function at 0x241fc0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x2beabb
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x2da130]
xor eax, esp
mov dword [esp + 0x644], eax
push ebx
push esi
push edi
mov eax, dword [0x2da130]
xor eax, esp
push eax
lea eax, [esp + 0x65c]
mov dword fs:[0], eax
push 0x210
xor ebx, ebx
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.002a4930
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push 0x2c9a50
mov ecx, 0x2f3bf8
call fcn.0025c39f
cmp eax, ebx
jne 0x24232a
push 0x210
lea edx, [esp + 0x448]
push ebx
push edx
call fcn.002a4930
add esp, 0xc
lea eax, [esp + 0x444]
push eax
push ebx
mov ecx, 0x2f3bf8
call fcn.0025c39f
cmp eax, ebx
jne 0x24232a
mov ax, word [esp + 0x5c2]
mov ecx, 0x3122
cmp cx, ax
jne 0x242093
mov byte [esp + 0x129], 3
mov byte [esp + 0x12a], 3
mov byte [esp + 0x130], 3
mov byte [esp + 0x131], 3
jmp 0x242124
mov edx, 0x3322
cmp dx, ax
jne 0x2420a6
mov byte [esp + 0x12f], bl
jmp 0x24211d
mov ecx, 0x5022
cmp cx, ax
jne 0x2420ce
inc byte [esp + 0x129]
inc byte [esp + 0x12a]
inc byte [esp + 0x130]
inc byte [esp + 0x131]
jmp 0x242100
mov edx, 0x3822
cmp dx, ax
jne 0x24212b
add byte [esp + 0x129], 2
add byte [esp + 0x12a], 2
add byte [esp + 0x130], 2
add byte [esp + 0x131], 2
mov byte [esp + 0x128], 1
mov byte [esp + 0x132], bl
mov byte [esp + 0xe4], bl
mov byte [esp + 0xe0], bl
mov byte [esp + 0x12f], 1
mov byte [esp + 0x118], bl
mov byte [esp + 0x119], bl
lea eax, [esp + 0x24]
push eax
mov ecx, 0x2f3bf8
call fcn.0025c5bf
push 0x210
lea ecx, [esp + 0x238]
push ebx
push ecx
call fcn.002a4930
add esp, 0xc
lea edx, [esp + 0x234]
push edx
push 0x2c9a70
mov ecx, 0x2f3bf8
call fcn.0025c39f
cmp eax, ebx
jne 0x24232a
movzx ax, byte [esp + 0x254]
movzx cx, byte [esp + 0x253]
shl ax, 8
or ax, cx
mov cl, byte [esp + 0x234]
movzx edx, ax
mov dword [esp + 0x10], edx
cmp cl, 0xb5
jne 0x2421a7
movzx eax, word [esp + 0x348]
mov dword [esp + 0x10], eax
mov dl, byte [esp + 0x66c]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x14], 6
mov byte [esp + 0x15], 0x35
mov byte [esp + 0x16], dl
cmp cl, 0xb5
jne 0x2421d4
mov byte [esp + 0x16], 0x3b
cmp byte [esp + 0x5d2], 0x54
jne 0x2421ec
push 3
push 0x2c9a74
lea eax, [esp + 0x1f]
push eax
jmp 0x2421f8
push 6
push 0x2c9a78
lea ecx, [esp + 0x1f]
push ecx
call fcn.002a18b0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp ax, bx
je 0x24221b
mov edx, eax
shr edx, 8
mov byte [esp + 0x1a], 0xc6
mov byte [esp + 0x1b], dl
mov byte [esp + 0x1c], al
movzx eax, byte [0x2f4409]
push eax
call fcn.00241d10
add esp, 4
mov dword [0x2f3b44], eax
cmp eax, 0xffffffff
je 0x24224a
call fcn.00242740
cmp eax, ebx
jne 0x242245
xor eax, eax
jmp 0x24232a
call fcn.00242820
movzx ecx, byte [0x2f4409]
push 0xea60
push ebx
push ebx
push 2
push ecx
mov cl, 0xc
lea edx, [esp + 0x28]
call fcn.00241ba0
add esp, 0x14
cmp eax, ebx
jne 0x24232a
lea ecx, [esp + 0x10]
call fcn.00241930
push ebx
lea edx, [esp + 0x14]
push str.Preformat:__d
push edx
mov dword [esp + 0x670], ebx
call fcn.002414a0
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
push eax
call edi
call fcn.002427b0
mov esi, eax
cmp esi, ebx
jne 0x24231f
mov ecx, dword [0x2f3b44]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x234], 0xb5
mov dword [0x2f3b44], ebx
jne 0x24231f
movzx eax, byte [esp + 0x4db]
add eax, 0x7d0
cmp eax, 0x7db
jl 0x2422f3
jne 0x24231f
cmp byte [esp + 0x4dc], 1
jne 0x24231f
cmp byte [esp + 0x4dd], 0xa
jae 0x24231f
movzx edx, byte [0x2f4409]
push edx
call fcn.00241ed0
add esp, 4
mov esi, eax
push esi
lea eax, [esp + 0x14]
push str.NT_ISPSwitchMode:__d
push eax
call fcn.002414a0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00241910
mov eax, esi
mov ecx, dword [esp + 0x65c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x644]
xor ecx, esp
call fcn.002a105e
add esp, 0x658
ret