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

Disassembly:
push 0xffffffffffffffff
push 0x5246c8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x553150]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
mov esi, dword [edi + 8]
push eax
call fcn.00401b70
xor ebx, ebx
cmp al, bl
jne 0x401ca5
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [0x599e78]
mov eax, dword [0x599e74]
mov ecx, 0x599e74
mov dword [esp + 0x24], edx
mov edx, dword [eax + 4]
push 0xffffffffffffffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
call edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], ebx
mov eax, dword [edi + 4]
push eax
call fcn.00401a20
mov ebp, eax
cmp ebp, ebx
jne 0x401cb9
mov ecx, dword [edi + 4]
push ebx
push ecx
push 0x599e58
call fcn.00401a80
mov edx, dword [edi + 4]
mov esi, dword [edi + 8]
push edx
mov ebp, eax
call fcn.00401b70
cmp al, bl
mov byte [esp + 0x17], al
je 0x401cb9
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], ebx
je 0x401ca5
mov eax, dword [0x599e74]
mov edx, dword [eax + 0xc]
mov ecx, 0x599e74
call edx
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
call fcn.00401590
mov esi, eax
mov eax, dword [edi + 4]
push 0xffffffffffffffff
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
push ebx
lea edx, [edi + 0xc]
mov dword [esi + 8], ecx
lea ecx, [esi + 0xc]
push edx
call fcn.0040b000
mov al, byte [edi + 0x28]
mov byte [esi + 0x28], al
mov cx, word [edi + 0x2a]
mov word [esi + 0x2a], cx
mov dx, word [edi + 0x2c]
mov word [esi + 0x2c], dx
mov eax, dword [esp + 0x38]
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x34], ecx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x38], edx
mov eax, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
lea edx, [edi + 0x40]
lea ecx, [esi + 0x40]
push edx
mov dword [esi + 0x3c], eax
call fcn.0040b000
mov byte [esi + 0x5c], bl
mov byte [esi + 0x5d], bl
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
cmp dword [ebp + 0x18], ebx
je 0x401d3c
mov byte [edi + 0x2e], 3
jmp 0x401d40
mov byte [edi + 0x2e], 4
mov al, byte [edi + 0x2e]
mov byte [esi + 0x2e], al
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
movzx eax, word [edi + 0x78]
mov word [esi + 0x78], ax
push ebp
mov eax, esi
call fcn.004014d0
mov ecx, dword [esi + 8]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
mov ebx, 0x599e68
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
call fcn.00403060
mov ecx, dword [0x599e70]
mov dword [0x599f24], ecx
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], 0
je 0x401db1
mov edx, dword [0x599e74]
mov eax, dword [edx + 0xc]
mov ecx, 0x599e74
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 8]
mov dx, word [esp + 0x3e]
mov eax, 1
add dword [0x599f14], eax
cmp dx, word [0x599f0a]
mov dword [esp + 0x18], ecx
mov dword [0x599eb0], eax
je 0x401dea
mov ebx, 0x599eb4
call fcn.00403c10
mov dword [0x599f1c], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov edi, dword [0x599ebc]
mov dword [0x599f08], ecx
lea ecx, [esp + 0x18]
mov dword [0x599f0c], edx
mov dword [0x599f04], eax
mov eax, dword [esp + 0x44]
push ecx
lea edx, [esp + 0x24]
push edx
mov esi, 0x599eb4
mov dword [0x599f10], eax
call fcn.00405090
mov eax, dword [esp + 0x20]
test eax, eax
je 0x401ec4
cmp eax, 0x599eb8
jne 0x401ec4
cmp dword [esp + 0x24], edi
jne 0x401e63
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.004037a0
mov edx, dword [0x599ec0]
mov dword [0x599f1c], edx
mov edi, dword [0x599ee4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov esi, 0x599edc
call fcn.00405090
mov eax, dword [esp + 0x20]
test eax, eax
je 0x401ec4
cmp eax, 0x599ee0
jne 0x401ec4
cmp dword [esp + 0x24], edi
jne 0x401eae
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
push esi
call fcn.004037a0
mov ecx, dword [0x599ee8]
mov dword [0x599f20], ecx
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
jmp fcn.00404660