Function at 0x40bb90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500b31
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], 0
xor eax, eax
mov dword [ebp - 0x2f0], 0x54d178
mov dword [0x54d178], 0x5338dc
mov dword [0x54d190], 7
mov dword [0x54d18c], 0
mov word [0x54d17c], ax
mov dword [ebp - 4], eax
mov dword [0x54d1ac], 7
mov dword [0x54d1a8], eax
mov word [0x54d198], ax
mov dword [0x54d1c4], 7
mov dword [0x54d1c0], eax
mov word [0x54d1b0], ax
mov dword [0x54d1dc], 7
mov dword [0x54d1d8], eax
mov word [0x54d1c8], ax
mov dword [0x54d1f4], 7
mov dword [0x54d1f0], eax
mov word [0x54d1e0], ax
mov dword [0x54d20c], 7
mov dword [0x54d208], eax
mov word [0x54d1f8], ax
mov dword [0x54d224], 7
mov dword [0x54d220], eax
mov word [0x54d210], ax
mov ecx, 0x54d228
mov byte [ebp - 4], 6
call fcn.00402f30
push 0x532f38
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x2e8]
call fcn.004179d0
mov esi, eax
cmp esi, 0x54d198
je 0x40bcec
mov eax, dword [0x54d1ac]
cmp eax, 8
jb 0x40bcc5
inc eax
mov ecx, 0x54d198
push eax
push dword [0x54d198]
call fcn.004024e0
xor eax, eax
mov dword [0x54d1ac], 7
push esi
mov ecx, 0x54d198
mov dword [0x54d1a8], 0
mov word [0x54d198], ax
call fcn.00407b80
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2d4]
cmp eax, 8
jb 0x40bd0e
inc eax
lea ecx, [ebp - 0x2e8]
push eax
push dword [ebp - 0x2e8]
call fcn.004024e0
lea ecx, [ebp - 0x2e8]
call fcn.004176f0
mov esi, eax
cmp esi, 0x54d1b0
je 0x40bd66
mov eax, dword [0x54d1c4]
cmp eax, 8
jb 0x40bd3f
inc eax
mov ecx, 0x54d1b0
push eax
push dword [0x54d1b0]
call fcn.004024e0
xor eax, eax
mov dword [0x54d1c4], 7
push esi
mov ecx, 0x54d1b0
mov dword [0x54d1c0], 0
mov word [0x54d1b0], ax
call fcn.00407b80
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2d4]
cmp eax, 8
jb 0x40bd88
inc eax
lea ecx, [ebp - 0x2e8]
push eax
push dword [ebp - 0x2e8]
call fcn.004024e0
lea ecx, [ebp - 0x2e8]
call fcn.004178b0
mov esi, eax
cmp esi, 0x54d1c8
je 0x40bde0
mov eax, dword [0x54d1dc]
cmp eax, 8
jb 0x40bdb9
inc eax
mov ecx, 0x54d1c8
push eax
push dword [0x54d1c8]
call fcn.004024e0
xor eax, eax
mov dword [0x54d1dc], 7
push esi
mov ecx, 0x54d1c8
mov dword [0x54d1d8], 0
mov word [0x54d1c8], ax
call fcn.00407b80
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2d4]
cmp eax, 8
jb 0x40be02
inc eax
lea ecx, [ebp - 0x2e8]
push eax
push dword [ebp - 0x2e8]
call fcn.004024e0
lea ecx, [ebp - 0x2e8]
call fcn.00417cc0
mov esi, eax
cmp esi, 0x54d1e0
je 0x40be5a
mov eax, dword [0x54d1f4]
cmp eax, 8
jb 0x40be33
inc eax
mov ecx, 0x54d1e0
push eax
push dword [0x54d1e0]
call fcn.004024e0
xor eax, eax
mov dword [0x54d1f4], 7
push esi
mov ecx, 0x54d1e0
mov dword [0x54d1f0], 0
mov word [0x54d1e0], ax
call fcn.00407b80
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2d4]
cmp eax, 8
jb 0x40be7c
inc eax
lea ecx, [ebp - 0x2e8]
push eax
push dword [ebp - 0x2e8]
call fcn.004024e0
lea ecx, [ebp - 0x2e8]
call fcn.00417de0
mov esi, eax
cmp esi, 0x54d1f8
je 0x40bed4
mov eax, dword [0x54d20c]
cmp eax, 8
jb 0x40bead
inc eax
mov ecx, 0x54d1f8
push eax
push dword [0x54d1f8]
call fcn.004024e0
xor eax, eax
mov dword [0x54d20c], 7
push esi
mov ecx, 0x54d1f8
mov dword [0x54d208], 0
mov word [0x54d1f8], ax
call fcn.00407b80
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2d4]
cmp eax, 8
jb 0x40bef6
inc eax
lea ecx, [ebp - 0x2e8]
push eax
push dword [ebp - 0x2e8]
call fcn.004024e0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d8530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [ebp - 0x218], 0
jne 0x40bf2e
xor ecx, ecx
jmp 0x40bf46
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bf37
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, 0x54d210
push eax
call fcn.004020c0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x5c
push eax
mov ecx, 0x54d210
call fcn.00411440
push 0xffffffffffffffff
inc eax
mov ecx, 0x54d210
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.0040fba0
mov esi, eax
cmp esi, 0x54d210
je 0x40bfda
mov ecx, dword [0x54d224]
cmp ecx, 8
jb 0x40bfb3
inc ecx
push ecx
push dword [0x54d210]
mov ecx, 0x54d210
call fcn.004024e0
xor eax, eax
mov dword [0x54d224], 7
push esi
mov ecx, 0x54d210
mov dword [0x54d220], 0
mov word [0x54d210], ax
call fcn.00407b80
mov eax, dword [ebp - 0x2d4]
cmp eax, 8
jb 0x40bff8
inc eax
lea ecx, [ebp - 0x2e8]
push eax
push dword [ebp - 0x2e8]
call fcn.004024e0
push 0xb0
lea eax, [ebp - 0x2d0]
push 0
push eax
call fcn.004d8530
add esp, 0xc
mov dword [ebp - 0x2d0], 0x532d6c
mov dword [ebp - 0x2c0], 0x532d7c
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x2b8]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 1
push eax
lea ecx, [ebp - 0x268]
mov dword [ebp - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x26c], 0x50
movlpd qword [ebp - 0x2c8], xmm0
call fcn.004084e0
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2c4], eax
mov eax, dword [ebp - 0x2d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x2d4], eax
mov dword [ebp - 4], 0x13
mov eax, dword [ebp - 0x2d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2d4], eax
lea eax, [ebp - 0x2b8]
mov ecx, eax
mov dword [ebp - 0x2ec], eax
call fcn.00408420
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
push 0x54d210
push ecx
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x15
push str.packageName
push eax
call fcn.00408840
add esp, 0xc
push eax
call fcn.00408ba0
push eax
call fcn.00408b00
add esp, 0xc
push str.ZZDS_PC
push ecx
push str.REG_PATH
push eax
call fcn.00408840
add esp, 0xc
push eax
call fcn.00408840
push eax
call fcn.00408b00
add esp, 0xc
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00406a30
cmp dword [eax + 0x14], 8
jb 0x40c186
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x2d4]
cmp eax, 8
jb 0x40c1ab
inc eax
lea ecx, [ebp - 0x2e8]
push eax
push dword [ebp - 0x2e8]
call fcn.004024e0
call fcn.004055a0
lea ecx, [eax + 0x98]
cmp ecx, 0x54d198
je 0x40c1cc
push 0xffffffffffffffff
push 0
push 0x54d198
call fcn.00402540
call fcn.004055a0
mov esi, eax
lea ecx, [esi + 0xb0]
cmp ecx, 0x54d1f8
je 0x40c1ef
push 0xffffffffffffffff
push 0
push 0x54d1f8
call fcn.00402540
lea ecx, [esi + 0xc8]
cmp ecx, 0x54d1e0
je 0x40c20b
push 0xffffffffffffffff
push 0
push 0x54d1e0
call fcn.00402540
call fcn.004055a0
lea ecx, [eax + 0xe0]
cmp ecx, 0x54d210
je 0x40c22c
push 0xffffffffffffffff
push 0
push 0x54d210
call fcn.00402540
call fcn.004055a0
lea ecx, [eax + 0xf8]
cmp ecx, 0x54d1b0
je 0x40c24d
push 0xffffffffffffffff
push 0
push 0x54d1b0
call fcn.00402540
call fcn.004055a0
lea ecx, [ebp - 0x268]
mov dword [eax + 4], 0x83
mov dword [0x54d194], 0
call fcn.00406a50
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0x16
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041ba11
add esp, 4
mov eax, 0x54d178
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret