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

Disassembly:
push 0xffffffffffffffff
push 0x4f3627
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x2ac]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2bc]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], vtable.CHoliDayDispatch.0
call fcn.00403c40
xor edi, edi
push 0x206
lea eax, [esp + 0xa2]
xor edx, edx
push edi
mov dword [esp + 0x2bc], edi
push eax
mov word [esp + 0xa8], dx
call fcn.004d1df0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xa0]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x9c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov word [esp + 0x68], ax
lea eax, [esp + 0x9c]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42d3d0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xa0]
push ecx
lea esi, [esp + 0x6c]
call fcn.00401760
push 0xc
push 0x505a38
mov eax, esi
mov byte [esp + 0x2bc], 1
call fcn.004088a0
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x42d416
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00444850
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.00445050
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x2b8], 2
call fcn.00403c40
sub esp, 0x1c
mov esi, esp
mov bl, 3
mov byte [esp + 0x2d0], bl
mov dword [esp + 0x30], esp
push 2
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0x505a54
lea ebp, [esp + 0x40]
mov word [esi + 4], dx
call fcn.00401760
sub esp, 0x1c
mov eax, esp
mov byte [esp + 0x2ec], 4
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push edi
lea edx, [esp + 0xc0]
xor ecx, ecx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], edi
push edx
mov word [eax + 4], cx
call fcn.00401850
mov ecx, ebp
mov byte [esp + 0x2ec], bl
call fcn.0042cdb0
mov esi, dword [esp + 0x60]
add esp, 0x38
cmp esi, dword [esp + 0x2c]
jbe 0x42d4d8
call fcn.004c96d9
mov ebp, dword [esp + 0x1c]
lea esp, [esp]
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x28], ebx
jbe 0x42d4ef
call fcn.004c96d9
cmp ebp, edi
je 0x42d4f9
cmp ebp, dword [esp + 0x1c]
je 0x42d4fe
call fcn.004c96d9
cmp esi, ebx
je 0x42d55d
cmp ebp, edi
jne 0x42d553
call fcn.004c96d9
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42d517
call fcn.004c96d9
push esi
call fcn.0041d7b0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x42d539
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
call fcn.00453320
xor edi, edi
cmp ebp, edi
jne 0x42d558
call fcn.004c96d9
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42d54e
call fcn.004c96d9
add esi, 0x1c
jmp 0x42d4e0
mov eax, dword [ebp]
jmp 0x42d50d
mov eax, dword [ebp]
jmp 0x42d544
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x42d585
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
push ecx
call fcn.00404650
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.004c8f17
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.004c8f17
mov esi, 8
add esp, 4
cmp dword [esp + 0x98], esi
jb 0x42d5bc
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004c8f17
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], edi
mov word [esp + 0x84], dx
cmp dword [esp + 0x7c], esi
jb 0x42d5ec
mov eax, dword [esp + 0x68]
push eax
call fcn.004c8f17
add esp, 4
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], edi
mov word [esp + 0x68], cx
mov dword [esp + 0x38], vtable.CHoliDayDispatch.0
cmp eax, edi
je 0x42d627
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
push edx
push ecx
call fcn.00445990
mov edx, dword [esp + 0x50]
push edx
call fcn.004c8f17
add esp, 0xc
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.004c8f08
add esp, 0x2a4
ret