Function at 0x415f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493ad1
mov eax, dword fs:[0]
push eax
mov eax, 0x23b4
call fcn.00479200
mov eax, dword [0x4bd750]
xor eax, esp
mov dword [esp + 0x23b0], eax
push ebx
push ebp
push esi
mov eax, dword [0x4bd750]
xor eax, esp
push eax
lea eax, [esp + 0x23c4]
mov dword fs:[0], eax
xor ebx, ebx
push 0x800
lea esi, [edi + 0xc]
push ebx
push esi
mov dword [edi], vtable.LogWnd::__LogWnd.0
mov dword [edi + 0x4010], ebx
mov byte [edi + 4], 1
mov dword [edi + 8], 2
call fcn.00475860
lea eax, [esp + 0x1c]
push eax
call fcn.004740d6
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00474112
push 0x206
lea eax, [esp + 0x3be]
push ebx
push eax
mov word [esp + 0x3c4], bx
call fcn.00475860
add esp, 0x24
push 0x104
lea ecx, [esp + 0x3a4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x206
lea edx, [esp + 0x19e]
push ebx
push edx
mov word [esp + 0x1a4], bx
call fcn.00475860
push 0x206
lea eax, [esp + 0x5ba]
push ebx
push eax
mov word [esp + 0x5c0], bx
call fcn.00475860
push 0x206
lea ecx, [esp + 0x7ce]
push ebx
push ecx
mov word [esp + 0x7d4], bx
call fcn.00475860
push 0x206
lea edx, [esp + 0x9e2]
push ebx
push edx
mov word [esp + 0x9e8], bx
call fcn.00475860
lea eax, [esp + 0x9e8]
push eax
lea ecx, [esp + 0x7e4]
push ecx
lea edx, [esp + 0x5e0]
push edx
lea eax, [esp + 0x1d4]
push eax
lea ecx, [esp + 0x3e0]
push ecx
call fcn.00472334
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
add esp, 0x44
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push edx
add eax, 1
push eax
add ecx, 0x76c
push ecx
lea edx, [esp + 0x7c8]
push edx
lea eax, [esp + 0x5c4]
push eax
lea ecx, [esp + 0x1b8]
push ecx
push str._s_sLog_s__04d_02d_02d__02d_02d_02d_Log.txt
push esi
mov edx, 0xfa0
call fcn.00416ee0
lea edx, [esp + 0x68]
push edx
mov dword [edi + 0x400c], ebx
call fcn.004740d6
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00474112
push 0x1000
lea edx, [esp + 0x13fc]
push ebx
push edx
call fcn.00475860
add esp, 0x44
push 0xfe
lea eax, [esp + 0x9e]
push ebx
push eax
mov word [esp + 0xa4], bx
call fcn.00475860
push str.info
lea ecx, [esp + 0xa8]
push 0x80
push ecx
call fcn.00472d52
add esp, 0x18
cmp byte [edi + 4], bl
push str.Logging_Start..
je 0x416230
test byte [edi + 8], 1
je 0x4161e5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x40]
push eax
add ecx, 1
push ecx
add edx, 0x76c
push edx
lea eax, [esp + 0x13e0]
push str._04d_02d_02d_02d_02d_02d____s______s
push eax
mov edx, 0x800
call fcn.00416f00
add esp, 0x28
jmp 0x41624c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push edx
add eax, 1
push eax
add ecx, 0x76c
push ecx
lea edx, [esp + 0x13e0]
push str._04d_02d_02d_02d_02d_02d____s__t_s
push edx
mov edx, 0x800
call fcn.00416f00
add esp, 0x28
jmp 0x41624c
push 2
lea eax, [esp + 0x13c8]
push str._Lv:_d___s
push eax
mov edx, 0x800
call fcn.00416f00
add esp, 0x10
test byte [edi + 8], 2
je 0x4162cf
push 0x7ff
lea ecx, [esp + 0xbc5]
push ebx
push ecx
mov byte [esp + 0xbcc], bl
call fcn.00475860
add esp, 0xc
push ebx
push ebx
push 0x800
lea edx, [esp + 0xbcc]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x13d4]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x4ad36c
lea ecx, [esp + 0x14]
push esi
push ecx
mov dword [esp + 0x1c], ebx
call fcn.0047281b
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, ebx
je 0x4162cf
lea edx, [esp + 0xbc0]
push edx
push 0x4ad374
push eax
call fcn.00472ac6
mov eax, dword [esp + 0x1c]
push eax
call fcn.00472b50
add esp, 0x10
test byte [edi + 8], 1
je 0x41645f
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
lea eax, [esp + 0x13c0]
mov dword [esp + 0x23cc], ebx
lea edx, [eax + 2]
jmp 0x416300
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416300
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x13c4]
push ecx
lea esi, [esp + 0x68]
call fcn.00402c40
mov eax, dword [esp + 0x74]
cmp eax, ebx
jbe 0x41644b
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x416342
xor ebx, ebx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
cmp eax, 0x41
mov byte [esp + 0x23cc], 1
jbe 0x41636e
mov eax, 0x41
push eax
lea edx, [esp + 0x64]
push edx
xor ecx, ecx
lea esi, [esp + 0x4c]
call fcn.00416eb0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0x23d4], 2
call fcn.00402d60
mov byte [esp + 0x23cc], 1
cmp dword [esp + 0x5c], 8
jb 0x4163b2
mov eax, dword [esp + 0x48]
push eax
call fcn.0044e528
add esp, 4
mov eax, dword [esp + 0x74]
cmp eax, 0x41
jbe 0x4163c0
mov eax, 0x41
xor ebx, ebx
lea esi, [esp + 0x60]
call fcn.00402e70
mov eax, dword [esp + 0x80]
mov esi, 8
cmp dword [esp + 0x94], esi
jae 0x4163e7
lea eax, [esp + 0x80]
mov ecx, dword [edi + 0x4010]
push eax
push 0
push 0x180
push ecx
call ebp
mov edx, dword [edi + 0x4010]
push 0
push 0
push 0x18b
push edx
call ebp
push 0
sub eax, 1
push eax
mov eax, dword [edi + 0x4010]
push 0x186
push eax
call ebp
mov byte [esp + 0x23cc], 0
cmp dword [esp + 0x94], esi
jb 0x41643f
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0044e528
add esp, 4
mov eax, dword [esp + 0x74]
test eax, eax
ja 0x416340
cmp dword [esp + 0x78], 8
jb 0x41645f
mov edx, dword [esp + 0x64]
push edx
call fcn.0044e528
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x23c4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23b0]
xor ecx, esp
call fcn.004716ba
add esp, 0x23c0
ret