Function at 0x42046a
Capabilities:
Print debug messages

Disassembly:
push ebx
push edi
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x420471
call fcn.00472160
mov dword [section..data], 0x5006d2
mov dword [section..data], 0x5006d4
mov dword [esp], 0
mov dword [section..data], 0x5006d5
xor edx, edx
lea ecx, [esp + 4]
call fcn.00433008
mov dword [section..data], 0x5006d7
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.00433008
mov dword [section..data], 0x5006d8
xor edx, edx
lea ecx, [esp + 0x10]
call fcn.00433008
mov dword [section..data], 0x5006d9
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.00433008
mov dword [section..data], 0x5006da
mov dword [esp + 0x18], 2
mov dword [section..data], 0x5006dc
push 0x887
push 0x83
call fcn.0045aa42
mov ebx, eax
inc ebx
mov dword [esp], ebx
mov dword [section..data], 0x5006dd
mov ebx, dword [esp]
cmp ebx, 2
jge 0x420544
mov dword [section..data], 0x5006de
jmp 0x420ff7
mov dword [section..data], 0x5006df
mov dword [section..data], 0x5006e1
push dword [esp]
call fcn.00470f90
mov dword [esp + 8], eax
mov dword [section..data], 0x5006e2
push dword [esp + 8]
push dword [esp + 4]
push 0x886
push 0x83
call fcn.0045aa14
mov dword [section..data], 0x5006e3
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push 2
push dword [esp + 0xc]
push dword [esp + 0x18]
call fcn.00470fd0
lea eax, [esp + 8]
push eax
call fcn.004720a0
mov dword [section..data], 0x5006e4
push dword [esp + 8]
call fcn.00470fb0
mov dword [section..data], 0x5006e6
push 0xc6
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 1
jne 0x4205f0
cmp edi, 0
je 0x4205f4
xor eax, eax
jmp 0x4205f9
mov eax, 1
or eax, eax
je 0x420636
mov dword [section..data], 0x5006e7
push edx
call fcn.00472070
pop edx
push eax
call fcn.0042b3a1
mov edx, dword [esp + 8]
push edx
call fcn.00472110
push edx
call fcn.00472070
pop edx
push eax
call fcn.0040547c
pop eax
lea eax, [esp + 8]
push eax
call fcn.004720a0
mov dword [section..data], 0x5006e8
mov dword [section..data], 0x5006ea
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push 0xda
call fcn.0045de08
call fcn.00433192
add dword [esp], edx
call fcn.004700f0
call fcn.00433192
add dword [esp], edx
call fcn.0046876d
call fcn.004331b0
push edx
push eax
pop ebx
pop edi
cmp ebx, 0xfffffffe
jne 0x4206a9
cmp edi, 0xffffffff
je 0x4206ad
xor eax, eax
jmp 0x4206b2
mov eax, 1
or eax, eax
je 0x4207b0
mov dword [section..data], 0x5006eb
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push 1
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push 0xda
call fcn.0045de08
call fcn.00433192
add dword [esp], edx
call fcn.004700f0
call fcn.00433192
add dword [esp], edx
call fcn.004701a0
call fcn.00472200
mov edx, 0x581372
call fcn.004331c0
mov ecx, eax
call fcn.00433140
jne 0x4207a6
mov dword [section..data], 0x5006ec
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push 0xda
call fcn.0045de08
call fcn.00433192
add dword [esp], edx
call fcn.004700f0
mov edx, 0x581372
push edx
call fcn.00472110
call fcn.00472200
push 0xda
call fcn.00433192
add dword [esp + 4], edx
call fcn.0045de70
call fcn.004331b0
mov dword [section..data], 0x5006ed
mov dword [section..data], 0x5006ee
mov dword [section..data], 0x5006f0
push 0xa2
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x4207e0
cmp edi, 0
jne 0x4207e0
xor eax, eax
jmp 0x4207e5
mov eax, 1
or eax, eax
je 0x420838
mov dword [section..data], 0x5006f1
mov edx, 0x583132
lea ecx, [esp + 0x14]
call fcn.00433008
mov dword [section..data], 0x5006f2
mov edx, dword [0x59a0b0]
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472110
lea eax, [esp + 0x14]
push eax
call fcn.004720a0
mov dword [section..data], 0x5006f3
jmp 0x420bcc
mov dword [section..data], 0x5006f3
push 0xa3
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x42085e
cmp edi, 0
jne 0x42085e
xor eax, eax
jmp 0x420863
mov eax, 1
or eax, eax
je 0x4208b6
mov dword [section..data], 0x5006f4
mov edx, 0x583132
lea ecx, [esp + 0x14]
call fcn.00433008
mov dword [section..data], 0x5006f5
mov edx, dword [0x59a038]
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472110
lea eax, [esp + 0x14]
push eax
call fcn.004720a0
mov dword [section..data], 0x5006f6
jmp 0x420bcc
mov dword [section..data], 0x5006f6
push 0x9e
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x4208dc
cmp edi, 0
jne 0x4208dc
xor eax, eax
jmp 0x4208e1
mov eax, 1
or eax, eax
jne 0x42090c
push 0x9f
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x420901
cmp edi, 0
jne 0x420901
xor eax, eax
jmp 0x420906
mov eax, 1
or eax, eax
jne 0x42090c
jmp 0x420913
mov eax, 1
jmp 0x420915
xor eax, eax
and eax, eax
je 0x420968
mov dword [section..data], 0x5006f7
mov edx, 0x5828a8
lea ecx, [esp + 0x14]
call fcn.00433008
mov dword [section..data], 0x5006f8
mov edx, dword [0x59a078]
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472110
lea eax, [esp + 0x14]
push eax
call fcn.004720a0
mov dword [section..data], 0x5006f9
jmp 0x420bcc
mov dword [section..data], 0x5006f9
push 0x9d
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x42098e
cmp edi, 0
jne 0x42098e
xor eax, eax
jmp 0x420993
mov eax, 1
or eax, eax
je 0x4209e6
mov dword [section..data], 0x5006fa
mov edx, 0x584b8e
lea ecx, [esp + 0x14]
call fcn.00433008
mov dword [section..data], 0x5006fb
mov edx, dword [0x59a090]
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472110
lea eax, [esp + 0x14]
push eax
call fcn.004720a0
mov dword [section..data], 0x5006fc
jmp 0x420bcc
mov dword [section..data], 0x5006fc
push 0x9c
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x420a0c
cmp edi, 0
jne 0x420a0c
xor eax, eax
jmp 0x420a11
mov eax, 1
or eax, eax
je 0x420a64
mov dword [section..data], 0x5006fd
mov edx, 0x586874
lea ecx, [esp + 0x14]
call fcn.00433008
mov dword [section..data], 0x5006fe
mov edx, dword [0x59a02c]
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472110
lea eax, [esp + 0x14]
push eax
call fcn.004720a0
mov dword [section..data], 0x5006ff
jmp 0x420bcc
mov dword [section..data], 0x5006ff
push 0xa1
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x420a8a
cmp edi, 0
jne 0x420a8a
xor eax, eax
jmp 0x420a8f
mov eax, 1
or eax, eax
je 0x420ae2
mov dword [section..data], 0x500700
mov edx, 0x582d68
lea ecx, [esp + 0x14]
call fcn.00433008
mov dword [section..data], 0x500701
mov edx, dword [0x59a0a0]
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472110
lea eax, [esp + 0x14]
push eax
call fcn.004720a0
mov dword [section..data], 0x500702
jmp 0x420bcc
mov dword [section..data], 0x500702
push 0xa5
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x420b08
cmp edi, 0
jne 0x420b08
xor eax, eax
jmp 0x420b0d
mov eax, 1
or eax, eax
je 0x420b5d
mov dword [section..data], 0x500703
mov edx, 0x580238
lea ecx, [esp + 0x14]
call fcn.00433008
mov dword [section..data], 0x500704
mov edx, dword [0x59a050]
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472110
lea eax, [esp + 0x14]
push eax
call fcn.004720a0
mov dword [section..data], 0x500705
jmp 0x420bcc
mov dword [section..data], 0x500705
push 0xa4
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x420b83
cmp edi, 0
jne 0x420b83
xor eax, eax
jmp 0x420b88
mov eax, 1
or eax, eax
je 0x420bcc
mov dword [section..data], 0x500706
mov edx, 0x58065e
lea ecx, [esp + 0x14]
call fcn.00433008
mov dword [section..data], 0x500707
mov edx, dword [0x59a07c]
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472110
lea eax, [esp + 0x14]
push eax
call fcn.004720a0
mov dword [section..data], 0x500708
mov dword [section..data], 0x50070a
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push 0xda
call fcn.0045de08
call fcn.00433192
add dword [esp], edx
call fcn.004700f0
call fcn.00433192
add dword [esp], edx
call fcn.0046876d
call fcn.004331b0
push edx
push eax
pop ebx
pop edi
cmp ebx, 0xfffffffe
jne 0x420c3f
cmp edi, 0xffffffff
je 0x420c43
xor eax, eax
jmp 0x420c48
mov eax, 1
or eax, eax
je 0x420cb8
mov dword [section..data], 0x50070b
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push 0xda
call fcn.0045de08
call fcn.00433192
add dword [esp], edx
call fcn.004700f0
mov edx, 0x5852d8
push edx
call fcn.00472110
mov edx, dword [esp + 0x18]
push edx
call fcn.00472110
lea eax, [esp + 0x10]
push eax
call fcn.004720a0
mov dword [section..data], 0x50070c
jmp 0x420d1d
mov dword [section..data], 0x50070c
mov dword [section..data], 0x50070d
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
call fcn.0045b88b
call fcn.00433192
add dword [esp], edx
call fcn.004688c4
mov edx, 0x5852d8
push edx
call fcn.00472110
mov edx, dword [esp + 0x18]
push edx
call fcn.00472110
lea eax, [esp + 0x10]
push eax
call fcn.004720a0
mov dword [section..data], 0x50070e
mov dword [section..data], 0x500710
cmp byte [esp + 0x28], 0
je 0x420d71
mov dword [section..data], 0x500711
push edx
call fcn.00472070
pop edx
push eax
call fcn.0042b3a1
mov edx, dword [esp + 8]
push edx
call fcn.00472110
push edx
call fcn.00472070
pop edx
push eax
call fcn.0040547c
pop eax
lea eax, [esp + 8]
push eax
call fcn.004720a0
mov dword [section..data], 0x500712
mov dword [section..data], 0x500714
push 0x9c
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x420da1
cmp edi, 0
jne 0x420da1
xor eax, eax
jmp 0x420da6
mov eax, 1
or eax, eax
jne 0x420dd1
push 0xa4
call fcn.0045debd
push edx
push eax
pop ebx
pop edi
cmp ebx, 0
jne 0x420dc6
cmp edi, 0
jne 0x420dc6
xor eax, eax
jmp 0x420dcb
mov eax, 1
or eax, eax
jne 0x420dd1
jmp 0x420dd8
mov eax, 1
jmp 0x420dda
xor eax, eax
and eax, eax
je 0x420df0
mov dword [section..data], 0x500715
mov dword [esp + 0x18], 0x18
mov dword [section..data], 0x500716
mov dword [section..data], 0x500718
push dword [esp + 0x18]
push dword [esp + 0x10]
push 0xa0
call fcn.00469070
and eax, eax
je 0x420fb7
mov dword [section..data], 0x500719
push dword [esp + 0x18]
push 0xa0
call fcn.004694a0
mov dword [section..data], 0x50071a
push dword [esp + 0x18]
push dword [esp + 8]
push 0xa0
call fcn.00469700
mov dword [section..data], 0x50071b
push 0xa0
call fcn.00468da0
mov dword [section..data], 0x50071c
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
mov edx, str._Scripting_Tracker___
push edx
call fcn.00472110
mov edx, dword [esp + 0x18]
push edx
call fcn.00472110
mov edx, 0x589e00
push edx
call fcn.00472110
mov edx, dword [esp + 0x14]
push edx
call fcn.00472110
mov edx, 0x58069c
push edx
call fcn.00472110
call fcn.00433192
add dword [esp], edx
call sub.KERNEL32.dll_OutputDebugStringW
call fcn.004331b0
mov dword [section..data], 0x50071d
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push edx
call fcn.00472070
pop edx
push eax
push dword [esp + 0x1c]
call fcn.004688c4
call fcn.00472200
push edx
call fcn.00472070
pop edx
push eax
mov edx, 0x58069c
push edx
call fcn.00472110
mov edx, dword [esp + 0x18]
push edx
call fcn.00472110
mov edx, 0x58069c
push edx
call fcn.00472110
call fcn.00472200
push edx
call fcn.00472070
pop edx
push eax
mov edx, 0x58069c
push edx
call fcn.00472110
mov edx, dword [esp + 0x20]
push edx
call fcn.00472110
mov edx, 0x58069c
push edx
call fcn.00472110
call fcn.00433192
add dword [esp], edx
call fcn.00433192
add dword [esp + 4], edx
call fcn.00433192
add dword [esp + 8], edx
call fcn.0045b924
call fcn.004331b0
and eax, eax
je 0x420f78
xor eax, eax
jmp 0x420f7d
mov eax, 1
and eax, eax
je 0x420fa1
mov dword [section..data], 0x50071e
push 0
mov eax, str.Can_not_open_editor
push eax
mov eax, str.Important_hint
push eax
call fcn.0045aac3
mov dword [section..data], 0x50071f
mov dword [section..data], 0x500720
jmp 0x420fe1
mov dword [section..data], 0x500720
mov dword [section..data], 0x500721
push 0
mov eax, str.Can_not_create_file
push eax
mov eax, str.Important_hint
push eax
call fcn.0045aac3
mov dword [section..data], 0x500722
mov dword [section..data], 0x500725
xor eax, eax
push dword [esp + 0xc]
call fcn.004721d0
push dword [esp + 4]
call fcn.004721d0
push dword [esp + 0x14]
call fcn.004721d0
push dword [esp + 0x10]
call fcn.004721d0
add esp, 0x1c
pop edi
pop ebx
ret 4