Function at 0x4237e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fdb0f
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5365f0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov eax, dword [0x5365f0]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
xor ecx, ecx
push 0x50
push ecx
lea edx, [esp + 0xbe]
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
mov word [esp + 0xc0], cx
call fcn.004da450
add esp, 0xc
lea edi, [ebx + 0x400]
lea esi, [esp + 0xb4]
call fcn.0044cba0
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.00401db0
xor edi, edi
mov dword [esp + 0x228], edi
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov word [esp + 0x98], cx
mov ecx, eax
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x423896
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x9c]
call fcn.004027c0
mov byte [esp + 0x228], 1
cmp dword [esp + 0xa8], edi
sete byte [esp + 0x13]
mov byte [esp + 0x228], 0
cmp dword [esp + 0xac], 8
jb 0x4238e8
mov edx, dword [esp + 0x98]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], edi
mov word [esp + 0x98], ax
cmp byte [esp + 0x13], al
je 0x423915
push str.Got_filePath_empty___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x103
lea edx, [esp + 0x111]
push edi
push edx
mov byte [esp + 0x118], 0
call fcn.004da450
movzx eax, word [esp + 0xa0]
movzx ecx, word [esp + 0x9e]
movzx edx, word [esp + 0x9c]
push eax
movzx eax, word [esp + 0x98]
push ecx
movzx ecx, word [esp + 0xa2]
push edx
movzx edx, word [esp + 0xa2]
push eax
push ecx
push edx
lea eax, [esp + 0x130]
push 0x50dfcc
push eax
call fcn.004d7b55
mov edx, dword [0x5361b4]
mov eax, dword [edx + 0xc]
add esp, 0x2c
mov ecx, 0x5361b4
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x228], 2
lea ecx, [esp + 0x10c]
test ecx, 0xffff0000
jne 0x4239f1
mov edx, ecx
movzx edi, dx
call fcn.00401190
test eax, eax
je 0x423a05
push eax
mov eax, edi
lea edi, [esp + 0x1c]
call fcn.00402ca0
jmp 0x423a05
lea ebx, [esp + 0x10c]
lea eax, [esp + 0x18]
call fcn.00419c60
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x228], 3
lea eax, [esp + 0x24]
push eax
call fcn.004071b0
mov byte [esp + 0x228], 4
cmp dword [ebx + 0x42c], 1
mov eax, dword [esp + 0x14]
je 0x423a4f
mov esi, eax
test eax, eax
je 0x423a4f
lea edi, [esp + 0x24]
mov ecx, eax
call fcn.004611f0
push 0
mov edx, edi
mov ecx, esi
call fcn.004615b0
mov eax, dword [esp + 0x18]
add esp, 4
mov edx, eax
lea ecx, [edx + 2]
mov si, word [edx]
add edx, 2
test si, si
jne 0x423a54
mov edi, dword [esp + 0x1c]
sub edx, ecx
sar edx, 1
push edx
lea esi, [edi + 0x20]
call fcn.004027c0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x423a80
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0x74]
call fcn.004027c0
lea eax, [esp + 0xb4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423aa2
sub eax, edx
sar eax, 1
push eax
lea esi, [edi + 4]
lea eax, [esp + 0xb8]
call fcn.004027c0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x423aeb
mov ecx, eax
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x423ad0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0xe4]
call fcn.004027c0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x423b1b
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x423b00
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x423b00
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0x90]
call fcn.004027c0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x423b4b
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x423b30
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x423b30
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0xac]
call fcn.004027c0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x423b7b
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x423b60
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x423b60
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0xc8]
call fcn.004027c0
cmp dword [esp + 0x34], 0
je 0x423b97
push 0
lea edx, [esp + 0x28]
push edx
lea ecx, [edi + 0x100]
or eax, 0xffffffff
call fcn.004022e0
mov ebx, dword [esp + 0x18]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423ba0
sub eax, edx
sar eax, 1
push eax
lea esi, [edi + 0x3c]
mov eax, ebx
call fcn.004027c0
push 1
lea esi, [edi + 0x58]
mov eax, 0x504ca4
call fcn.004027c0
mov byte [esp + 0x228], 3
lea eax, [esp + 0x24]
push eax
call fcn.004072e0
mov byte [esp + 0x228], 0
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423bff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423c2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4