Function at 0x534dc0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x440
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [esp + 0x438], eax
mov dword [ecx], 0x703a54
lea edi, [ecx + 8]
mov dword [esp], ecx
add ecx, 0xc
lea esi, [esp + 0x38]
mov dword [esp + 0xc], ecx
push esi
call fcn.00627d90
movzx eax, byte [esi + 0xb]
mov dword [esp + 4], eax
test al, al
jns 0x534e0e
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
jns 0x534e1c
push dword [esp + 0x38]
call fcn.0066d8a0
add esp, 4
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
mov dword [esp + 8], edi
add ecx, edi
lea esi, [esp + 0x38]
push esi
call fcn.0062f7c0
mov ecx, esi
push 0x72f5d0
call fcn.00630500
mov edi, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push 0xa
call esi
mov ebx, eax
lea ecx, [esp + 0x38]
call fcn.0062f900
movsx eax, bl
mov esi, dword [esp + 8]
mov ecx, esi
push eax
call fcn.005152a0
mov ecx, esi
call fcn.00514430
xor eax, eax
dec eax
lea esi, [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0xc]
push esi
call fcn.00627d90
movzx ecx, byte [esi + 0xb]
mov eax, ecx
test cl, cl
jns 0x534e9e
mov eax, dword [esp + 0x20]
mov edx, dword [esp]
mov edx, dword [edx + 0x90]
sub eax, edx
jb 0x535046
js 0x535049
test cl, cl
jns 0x534ebd
mov esi, dword [esp + 0x1c]
add esi, edx
lea ebx, [esp + 0x10]
mov ecx, ebx
push eax
push esi
call fcn.0069b640
mov ecx, dword [esp]
mov eax, dword [ecx + 0x94]
mov ecx, dword [ecx + 0x98]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
test byte [0x72be84], 0x19
jne 0x53504c
cmp byte [esp + 0x1b], 0
jns 0x534f03
push dword [esp + 0x10]
call fcn.0066d8a0
add esp, 4
mov eax, dword [esp]
cmp dword [eax + 4], 3
je 0x53508a
mov ecx, dword [0x72ffd4]
test ecx, ecx
je 0x534f51
mov eax, dword [esp]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov edi, dword [eax + 0x90]
mov ebx, dword [eax + 0x98]
mov esi, dword [eax + 0x94]
call dword [section..00cfg]
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
push esi
push dword [esp + 0x18]
call ecx
add esp, 0x14
test al, al
jne 0x534f8d
mov eax, dword [0x72cc40]
test al, 2
jne 0x53510e
test al, 4
jne 0x535006
mov ecx, dword [esp]
cmp dword [ecx + 4], 2
jl 0x534f78
cmp eax, 1
jbe 0x535006
test al, 1
jne 0x53511b
mov eax, dword [esp]
cmp dword [eax + 4], 3
je 0x53515b
cmp byte [esp + 0x27], 0
jns 0x534fa0
push dword [esp + 0x1c]
call fcn.0066d8a0
add esp, 4
mov esi, dword [esp]
lea ecx, [esi + 0x9c]
call fcn.0065c9d0
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], 0x703f30
mov dword [esi + 0xc], 0x703f40
cmp byte [esi + 0x37], 0
jns 0x534fd4
push dword [esi + 0x2c]
call fcn.0066d8a0
add esp, 4
add esi, 0x40
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.00627680
mov ecx, edi
call fcn.00627d80
mov ecx, esi
call fcn.00627670
mov ecx, dword [esp + 0x438]
xor ecx, ebp
call fcn.0066e1f1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [esp + 0x1c]
movzx ebx, byte [esi + 0xb]
test bl, bl
cmovs ebx, dword [esi + 4]
cmovs esi, dword [esi]
test ebx, ebx
je 0x534f78
xor edi, edi
mov eax, ebx
sub eax, edi
lea ecx, [esi + edi]
push eax
push ecx
push 2
call fcn.006831cc
add esp, 0xc
test eax, eax
jns 0x535263
mov eax, dword [0x72cc40]
jmp 0x534f78
int3
int3
lea eax, [esp + 0x28]
lea edx, [esp + 0x38]
mov dword [edx], eax
lea eax, [esp + 0x2c]
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
sub esp, 8
movsd xmm0, qword [esp + 0x38]
movsd qword [esp], xmm0
mov ecx, str.LogMessage
call fcn.00535320
add esp, 8
jmp 0x534ef0
cmp byte [0x72fffc], 0
jne 0x534f10
mov byte [0x72fffc], 1
mov eax, dword [0x730004]
mov ecx, dword [0x72dff4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x535272
mov ecx, dword [esp]
lea esi, [esp + 0x38]
push esi
call fcn.006b5730
movzx eax, byte [esp + 0x43]
mov ecx, esi
test al, al
jns 0x5350df
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push eax
push ecx
push dword [0x730000]
call fcn.006599b0
add esp, 0xc
cmp byte [esp + 0x43], 0
jns 0x535102
push dword [esp + 0x38]
call fcn.0066d8a0
add esp, 4
mov byte [0x72fffc], 0
jmp 0x534f10
cmp byte [esp + 0x27], 0
jns 0x535180
mov eax, dword [esp + 0x1c]
jmp 0x535184
call fcn.005346f0
test al, al
je 0x534f80
lea eax, [esp + 0x1c]
movzx ecx, byte [eax + 0xb]
test cl, cl
cmovs ecx, dword [eax + 4]
mov dword [esp + 0x38], 0xffffffff
cmovs eax, dword [eax]
push 0
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
push dword [0x72ffe0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x534f80
mov esi, 0x400
push esi
push 0xff
lea eax, [esp + 0x40]
push eax
call fcn.006719e0
add esp, 0xc
cmp byte [esp + 0x27], 0
jns 0x535195
mov eax, dword [esp + 0x1c]
jmp 0x535199
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x72cc40]
jmp 0x534f5e
lea eax, [esp + 0x1c]
push esi
push eax
lea esi, [esp + 0x40]
push esi
call fcn.00637db0
add esp, 0xc
push esi
call fcn.00627d80
add esp, 4
call fcn.00534950
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x5352b5
mov dword [esp + 0x10], 0xffffffff
call fcn.00534950
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
test edx, edx
cmove edx, ecx
dec edx
cmp ecx, edx
jb 0x5352b8
shl edx, 2
add edx, dword [eax]
lea esi, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0063d680
cmp dword [esi], 0
jne 0x535207
lea ecx, [esp + 0x10]
call fcn.0063d6b0
jmp 0x534f8d
cmp byte [esp + 0x27], 0
jns 0x535214
mov esi, dword [esp + 0x1c]
jmp 0x535218
lea esi, [esp + 0x1c]
mov edi, esi
add edi, dword [esp + 4]
je 0x5352bb
mov eax, dword [esp]
mov eax, dword [eax + 0x90]
mov ebx, dword [esp + 4]
sub ebx, eax
js 0x5352be
add esi, eax
push edi
call fcn.00687040
add esp, 4
lea ecx, [esp + 0x10]
push eax
push edi
push ebx
push esi
mov eax, dword [esp + 0x10]
push dword [eax + 0x98]
push dword [eax + 0x94]
call fcn.006b5680
jmp 0x5351f9
add edi, eax
cmp ebx, edi
ja 0x535021
jmp 0x53503c
push 0x730004
call fcn.0066d917
add esp, 4
cmp dword [0x730004], 0xffffffff
jne 0x5350bf
push 0x400
push str.LOG_FATAL
call fcn.00558630
add esp, 8
mov dword [0x730000], eax
push 0x730004
call fcn.0066d98d
add esp, 4
jmp 0x5350bf
int3
int3
int3
int3