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

Disassembly:
push 0xffffffffffffffff
push 0x4b9e9c
mov eax, dword fs:[0]
push eax
sub esp, 0x140
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x38], ebp
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x458f4d
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0xf8]
push ecx
mov dword [esp + 0x160], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0xffffffffffffffff
lea edx, [esp + 0xfc]
push edx
lea ecx, [esp + 0x20]
call fcn.00402410
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x90]
push ecx
call fcn.0049e3b6
add esp, 8
cmp eax, ebp
jne 0x458fac
mov esi, dword [esp + 0xa4]
inc esi
jmp 0x458fae
xor esi, esi
sub esi, 1
mov dword [esp + 0x48], esi
jne 0x458fc0
mov esi, 7
mov dword [esp + 0x48], esi
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x458fda
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push esi
lea ecx, [esp + 0x24]
push 0x4c3af0
push ecx
mov byte [esp + 0x168], 2
call fcn.0040a120
add esp, 0xc
push str.STARTOFDAYHOURS
xor edi, edi
call fcn.0046ccd0
mov esi, eax
cmp esi, ebp
je 0x45902b
push esi
call fcn.0049e31d
add esp, 4
push esi
mov edi, eax
call fcn.0049081d
add esp, 4
push str.STARTOFDAYMINUTES
mov ebx, edi
call fcn.0046ccd0
mov esi, eax
cmp esi, ebp
je 0x459051
push esi
call fcn.0049e31d
add esp, 4
push esi
mov ebp, eax
call fcn.0049081d
add esp, 4
cmp edi, 0x17
jle 0x45905b
mov ebx, 0x17
cmp ebp, 0x3b
jle 0x459065
mov ebp, 0x3b
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x90]
push eax
call fcn.0049e3b6
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0xa0]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x6c]
push edx
mov edi, eax
call fcn.0049e3b6
add esp, 0x10
test eax, eax
jne 0x4590a3
mov esi, dword [esp + 0x70]
inc esi
jmp 0x4590a5
xor esi, esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xb4]
push ecx
call fcn.0049e3b6
add esp, 8
test eax, eax
jne 0x4590cc
mov eax, dword [esp + 0xc4]
add eax, 0x76c
jmp 0x4590ce
xor eax, eax
push 0xffffffffffffffff
push 0
push ebp
push ebx
push edi
push esi
push eax
lea ecx, [esp + 0xa0]
call fcn.00402330
push fcn.00401a70
push fcn.0041c470
push 4
xor eax, eax
xor ecx, ecx
push 4
lea edx, [esp + 0x60]
push edx
xor esi, esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
call fcn.0049ec4d
lea eax, [esp + 0x60]
mov byte [esp + 0x15c], 3
mov dword [esp + 0xc0], esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], esi
call fcn.00498c2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x458f43
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x15c], 4
call fcn.00498c2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x458f43
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x15c], 5
call fcn.00498c2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x458f43
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x50]
push str.SHIFT_d_HR
push ecx
mov byte [esp + 0x168], 6
call fcn.0040a120
add esp, 0xc
push esi
lea edx, [esp + 0x48]
push str.SHIFT_d_MIN
push edx
call fcn.0040a120
add esp, 0xc
push esi
lea eax, [esp + 0x38]
push str.SHIFT_d_CODE
push eax
call fcn.0040a120
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x30]
push eax
lea ecx, [esi - 1]
call fcn.00465cd0
mov eax, dword [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459236
sub eax, edx
sar eax, 1
je 0x459472
mov eax, dword [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459252
sub eax, edx
sar eax, 1
je 0x459472
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10c]
push edx
call fcn.0049e3b6
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x11c]
lea ecx, [esp + 0x134]
mov ebp, eax
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.0049e3b6
add esp, 0x10
test eax, eax
jne 0x4592ab
mov ebx, dword [esp + 0x13c]
inc ebx
jmp 0x4592ad
xor ebx, ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xd8]
push eax
call fcn.0049e3b6
add esp, 8
test eax, eax
jne 0x4592d5
mov esi, dword [esp + 0xe8]
add esi, 0x76c
jmp 0x4592d7
xor esi, esi
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0049e31d
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
mov edi, eax
call fcn.0049e31d
xor ecx, ecx
add esp, 4
cmp esi, 0x76c
setge cl
test ecx, ecx
je 0x458f43
lea ecx, [ebx - 1]
cmp ecx, 0xb
ja 0x458f43
lea edx, [ebp - 1]
cmp edx, 0x1e
ja 0x458f43
cmp eax, 0x17
ja 0x458f43
cmp edi, 0x3b
ja 0x458f43
mov dword [esp + 0x94], eax
lea eax, [esp + 0x8c]
add esi, 0xfffff894
push eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], edi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xb0], 0xffffffff
call fcn.0049e263
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, 0xffffffff
je 0x45966f
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x24]
mov dword [ecx + 4], edx
lea edx, [esp + 0x2c]
mov dword [ecx], eax
push edx
lea ecx, [esp + ebx + 0x54]
call fcn.00408830
mov eax, dword [esp + 0x28]
push eax
call fcn.0049e31d
mov ecx, dword [esp + 0x34]
add esp, 4
push ecx
mov esi, eax
call fcn.0049e31d
mov ebp, dword [esp + 0x30]
add esp, 4
cmp dword [ebp - 0xc], 0
mov edi, eax
jle 0x459465
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xd8]
push eax
call fcn.0049e3b6
add esp, 8
test eax, eax
jne 0x4593f5
mov eax, dword [esp + 0xdc]
jmp 0x4593f8
or eax, 0xffffffff
cmp esi, eax
jne 0x459425
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xd8]
push edx
call fcn.0049e3b6
add esp, 8
test eax, eax
jne 0x45941e
mov eax, dword [esp + 0xd8]
jmp 0x459421
or eax, 0xffffffff
cmp edi, eax
jle 0x45944e
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.0049e3b6
add esp, 8
test eax, eax
jne 0x459447
mov eax, dword [esp + 0xdc]
jmp 0x45944a
or eax, 0xffffffff
cmp eax, esi
jle 0x459465
cmp esi, 0x17
jg 0x459465
cmp edi, 0x3b
jg 0x459465
mov dword [esp + ebx + 0xb0], 1
jmp 0x4594a7
mov dword [esp + ebx + 0xb0], 0
jmp 0x4594a7
mov eax, dword [esp + 0x34]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459480
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
sub eax, edx
sar eax, 1
xor edx, edx
cmp edx, eax
sbb eax, eax
inc eax
mov dword [esp + ecx + 0xb0], eax
mov ebx, ecx
mov edx, dword [esp + 0x28]
push edx
call fcn.0049081d
mov eax, dword [esp + 0x34]
add esp, 4
push eax
call fcn.0049081d
mov byte [esp + 0x160], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4594e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x15c], 4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459511
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x15c], 3
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459539
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add dword [esp + 0x3c], 8
inc eax
mov dword [esp + 0x40], eax
add ebx, 4
dec eax
cmp eax, 4
mov dword [esp + 0x24], ebx
jl 0x459153
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
xor eax, eax
mov ecx, dword [esp + eax*4 + 0xb0]
test ecx, ecx
je 0x4595bd
cmp dword [esp + eax*4 + 0xb4], 0
je 0x4595a1
cmp edx, dword [esp + eax*8 + 0x64]
jl 0x4595a1
jg 0x459585
cmp esi, dword [esp + eax*8 + 0x60]
jb 0x4595a1
cmp edx, dword [esp + eax*8 + 0x6c]
jg 0x4595a1
jl 0x459593
cmp esi, dword [esp + eax*8 + 0x68]
jae 0x4595a1
mov edi, dword [esp + eax*4 + 0x50]
cmp dword [edi - 0xc], 0
jg 0x459663
test ecx, ecx
je 0x4595bd
cmp dword [esp + eax*4 + 0xb4], 0
jne 0x4595bd
mov ecx, dword [esp + eax*4 + 0x50]
cmp dword [ecx - 0xc], 0
jg 0x4596ce
inc eax
cmp eax, 4
jl 0x459562
mov esi, dword [esp + 0x164]
push 0x4cc22c
mov ecx, esi
call fcn.00408080
push fcn.00401a70
push 4
push 4
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x48], 1
mov byte [esp + 0x16c], 2
call fcn.0049e6cc
mov byte [esp + 0x15c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x459621
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x15c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459645
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret 4
lea eax, [esp + eax*4 + 0x50]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jge 0x459679
push 0x80070057
call fcn.004010d0
movzx edi, word [eax]
mov esi, dword [esp + 0x164]
mov ebx, esi
call fcn.004168e0
push fcn.00401a70
push 4
push 4
lea edx, [esp + 0x5c]
mov ebx, 1
push edx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x16c], 2
call fcn.0049e6cc
mov byte [esp + 0x15c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x459615
lea eax, [esp + eax*4 + 0x50]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jge 0x4596e4
push 0x80070057
call fcn.004010d0
movzx edi, word [eax]
mov esi, dword [esp + 0x164]
mov ebx, esi
call fcn.004168e0
push fcn.00401a70
push 4
push 4
lea ecx, [esp + 0x5c]
mov ebx, 1
push ecx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x16c], 2
call fcn.0049e6cc
mov byte [esp + 0x15c], bl
jmp 0x459601