Function at 0x52d1d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5dff51
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov eax, dword [esp + 0x178]
mov ebx, 7
mov edi, edx
push ebx
mov dword [esp + 0x64], ecx
xor edx, edx
xor esi, esi
push str.log.txt
lea ecx, [esp + 0xdc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xec], esi
mov word [esp + 0xdc], dx
call fcn.00402710
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], esi
push 3
xor eax, eax
push 0x635770
lea ecx, [esp + 0x100]
mov dword [esp + 0x178], esi
mov dword [esp + 0x114], ebx
mov dword [esp + 0x110], esi
mov word [esp + 0x100], ax
call fcn.00402710
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], esi
xor ecx, ecx
push 3
mov word [esp + 0xb4], cx
push 0x635768
lea ecx, [esp + 0xb8]
mov byte [esp + 0x178], 1
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], esi
call fcn.00402710
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
push edi
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0x184], 2
call fcn.0056dad0
mov eax, dword [esp + 0xe0]
push eax
call fcn.005844d1
mov ebp, 8
add esp, 0x18
cmp dword [esp + 0xc4], ebp
jb 0x52d338
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], esi
mov word [esp + 0xb0], dx
mov eax, dword [esp + 0x114]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x10c], ebp
jb 0x52d379
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x108], esi
mov word [esp + 0xf8], dx
mov eax, dword [esp + 0xf0]
push eax
mov byte [esp + 0x174], 6
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xe8], ebp
jb 0x52d3c2
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xe4], esi
mov word [esp + 0xd4], dx
cmp dword [esp + 0x9c], esi
jne 0x52d414
mov eax, dword [esp + 0xa8]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xa0], ebp
jb 0x52d40c
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00584768
add esp, 4
or eax, 0xffffffff
jmp 0x52d816
lea edx, [esp + 0x8c]
push edx
call fcn.00450c10
add esp, 4
test al, al
je 0x52d7b1
xor eax, eax
mov dword [esp + 0x130], ebx
mov dword [esp + 0x12c], esi
mov word [esp + 0x11c], ax
mov dword [esp + 0x138], esi
mov dword [esp + 0x13c], esi
push str.Append_log_to_file__s__choosing__No__will_overwrite_it__
lea ecx, [esp + 0x144]
mov byte [esp + 0x174], bl
call fcn.00402bb0
xor ecx, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], esi
mov word [esp + 0x18], cx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
xor edx, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], dx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov byte [esp + 0x170], 0xa
call fcn.00425e70
cmp eax, esi
je 0x52d4c6
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x148]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, esi
jne 0x52d4d6
lea edx, [esp + 0x140]
push edx
call fcn.004292f0
add esp, 4
mov edi, eax
call fcn.00420510
mov dword [esp + 0x68], eax
mov byte [esp + 0x170], 0xb
call fcn.00420510
mov dword [esp + 0x6c], eax
mov byte [esp + 0x170], 0xc
call fcn.00420510
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], esi
sub esp, 0x24
mov edi, esp
mov dword [esp + 0x88], esp
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0xb8]
xor eax, eax
push ecx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], esi
mov ecx, edi
mov byte [esp + 0x1a0], 0xd
mov word [edi], ax
call fcn.00402610
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x144]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
call fcn.00413990
lea ecx, [esp + 0x68]
mov byte [esp + 0x170], 0xa
call fcn.004020c0
mov eax, dword [esp + 0x58]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x50], ebp
jb 0x52d587
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x34]
xor edx, edx
push eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], esi
mov word [esp + 0x40], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x2c], ebp
jb 0x52d5b6
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x15c]
xor edx, edx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], dx
mov byte [esp + 0x174], bl
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x154], ebp
jb 0x52d5f5
mov ecx, dword [esp + 0x140]
push ecx
call fcn.00584768
add esp, 4
push str.Question
lea ecx, [esp + 0x6c]
call fcn.00402bb0
xor edx, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], dx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], esi
mov word [esp + 0x18], ax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0x170], 0x10
call fcn.00425e70
cmp eax, esi
je 0x52d65c
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, esi
jne 0x52d669
lea edx, [esp + 0x68]
push edx
call fcn.004292f0
add esp, 4
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push 0x41a
push eax
lea eax, [esp + 0x130]
push eax
call fcn.004c01e0
mov ecx, dword [esp + 0x4c]
push ecx
mov edi, eax
call fcn.005844d1
add esp, 0x1c
cmp dword [esp + 0x2c], ebp
jb 0x52d6a3
mov edx, dword [esp + 0x18]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x58]
xor eax, eax
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x50], ebp
jb 0x52d6d2
mov edx, dword [esp + 0x3c]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x84]
xor eax, eax
push ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], esi
mov word [esp + 0x40], ax
mov byte [esp + 0x174], bl
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x7c], ebp
jb 0x52d70b
mov edx, dword [esp + 0x68]
push edx
call fcn.00584768
add esp, 4
xor eax, eax
mov word [esp + 0x68], ax
mov eax, edi
sub eax, 2
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], esi
je 0x52d74a
sub eax, 6
je 0x52d764
sub eax, ebp
jne 0x52d764
lea ecx, [esp + 0x11c]
call fcn.00405eb0
lea ecx, [esp + 0x8c]
call fcn.00405eb0
or eax, 0xffffffff
jmp 0x52d816
push 0x1b6
push 3
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00453960
jmp 0x52d77c
mov ecx, dword [esp + 0x14]
push 0x1b6
push 1
lea edx, [esp + 0x94]
push edx
call fcn.00453350
mov bl, al
mov eax, dword [esp + 0x138]
push eax
mov byte [esp + 0x174], 6
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x130], ebp
jb 0x52d7ca
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.00584768
add esp, 4
jmp 0x52d7ca
mov ecx, dword [esp + 0x14]
push 0x1b6
push esi
lea edx, [esp + 0x94]
push edx
call fcn.00453350
mov bl, al
mov ecx, dword [esp + 0x60]
cmp ecx, esi
je 0x52d7e8
lea eax, [esp + 0x8c]
cmp ecx, eax
je 0x52d7e8
push 0xffffffffffffffff
push esi
mov edx, eax
push edx
call fcn.00402610
mov eax, dword [esp + 0xa8]
push eax
movzx esi, bl
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xa0], ebp
jb 0x52d814
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00584768
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.00585b7b
add esp, 0x160
ret