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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x52be84]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [0x52e2fc]
push edi
push str.CHCheckUSBKey::HCOMGetSTime
push str._s_IN
xor edi, edi
push edi
push 0xf2c
push str.CHCheckUSBKey::HCOMGetSTime
push str..HTCSPDeal.cpp
mov dword [esp + 0x58], eax
call fcn.004199d0
add esp, 0x18
call fcn.004054f0
test eax, eax
je 0x40927e
push edi
push 0x533c70
call fcn.004067b0
add esp, 8
test eax, eax
je 0x408ccc
cmp dword [0x533c70], edi
jle 0x40927e
lea ecx, [esp + 0x14]
call fcn.00403850
push ebx
call fcn.0041f9b0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
call fcn.00406c50
add esp, 4
test eax, eax
jne 0x408d0f
mov edx, dword [esp + 0x28]
push edx
call fcn.004203f0
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00403df0
jmp 0x40927e
push 0x3f
lea eax, [esp + 0xb5]
push edi
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0xbc], 0
call fcn.0045a690
add esp, 0xc
cmp dword [0x533c70], edi
mov dword [esp + 0x18], edi
jle 0x409224
mov dword [esp + 0x10], 0x5343e8
jmp 0x408d52
xor edi, edi
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.00415a70
mov ebx, dword [esp + 0x14]
mov eax, 1
sub eax, dword [ebx - 4]
or eax, dword [ebx - 8]
jge 0x408d83
push edi
lea ecx, [esp + 0x18]
call fcn.00404140
mov ebx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x60]
call fcn.00402790
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.00415c00
mov esi, eax
mov ecx, esi
lea edx, [esp + 0x30]
call fcn.00403920
mov ecx, dword [esi + 8]
lea edx, [esp + 0xa4]
mov dword [esp + 0x38], ecx
push edx
lea ecx, [esp + 0x80]
call fcn.00418e10
mov edi, eax
lea esi, [esp + 0x30]
call fcn.00418470
test al, al
lea edi, [esp + 0x98]
sete byte [esp + 0x1f]
call fcn.004039f0
lea edi, [esp + 0xa4]
call fcn.004039f0
cmp dword [esp + 0x78], 0x10
jb 0x408e0d
mov eax, dword [esp + 0x64]
push eax
call fcn.00452ef0
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
call fcn.00403800
cmp byte [esp + 0x1f], 0
jne 0x408e64
lea esi, [esp + 0x7c]
call fcn.00418e70
mov ecx, esi
call fcn.00403800
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], 0x7ac
inc eax
cmp eax, dword [0x533c70]
mov dword [esp + 0x18], eax
jl 0x408d50
jmp 0x409228
push str.YEAR
push str.AtlCtrl
call dword [0x5334fc]
add esp, 8
push eax
lea ecx, [esp + 0x14]
call fcn.00403d30
push str.MONTH
push str.AtlCtrl
call dword [0x5334fc]
add esp, 8
push eax
lea ecx, [esp + 0x1c]
call fcn.00403d30
push 0x51bd18
push str.AtlCtrl
call dword [0x5334fc]
add esp, 8
push eax
lea ecx, [esp + 0x24]
call fcn.00403d30
push str.HOUR
push str.AtlCtrl
call dword [0x5334fc]
add esp, 8
push eax
lea ecx, [esp + 0x28]
call fcn.00403d30
push str.MINUTE
push str.AtlCtrl
call dword [0x5334fc]
add esp, 8
push eax
lea ecx, [esp + 0x30]
call fcn.00403d30
mov eax, dword [esp + 0x2c]
mov ecx, 1
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x408f15
push 0
lea ecx, [esp + 0x30]
call fcn.00404140
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x30]
mov dword [esp + 0x4c], eax
call fcn.00417370
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
mov edx, 1
sub edx, dword [eax - 4]
or edx, dword [eax - 8]
jge 0x408f46
push 0
lea ecx, [esp + 0x28]
call fcn.00404140
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x30]
mov dword [esp + 0x3c], eax
call fcn.00417370
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov ecx, 1
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x408f77
push 0
lea ecx, [esp + 0x24]
call fcn.00404140
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x30]
mov dword [esp + 0x50], eax
call fcn.00417370
mov ebx, dword [esp + 0x18]
mov edx, 1
sub edx, dword [ebx - 4]
mov dword [esp + 0x58], eax
or edx, dword [ebx - 8]
jge 0x408fa8
push 0
lea ecx, [esp + 0x1c]
call fcn.00404140
mov ebx, dword [esp + 0x18]
lea esi, [esp + 0x30]
call fcn.00417370
mov edi, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov eax, 1
sub eax, dword [edi - 4]
or eax, dword [edi - 8]
jge 0x408fd5
push 0
lea ecx, [esp + 0x14]
call fcn.00404140
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x30]
call fcn.00417370
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
push ecx
movzx ecx, word [edx + 0x2ba]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x50]
push edx
movzx edx, word [ecx + 0x2b8]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x68]
push ecx
movzx ecx, word [edx + 0x2b6]
mov edx, dword [esp + 0x68]
push ecx
movzx ecx, word [edx + 0x2b2]
movzx edx, word [eax + 0x2b0]
push ebx
push ecx
push edi
push edx
push str._04d_s_02d_s_02d_s_02d_s_02d_s
lea edx, [esp + 0xdc]
call fcn.00417970
add esp, 0x2c
lea eax, [esp + 0xb0]
push eax
call fcn.0041f830
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
push edx
mov dword [ecx], eax
call fcn.004203f0
mov esi, dword [esp + 0x30]
add esi, 0xfffffff0
lea edi, [esi + 0xc]
add esp, 4
cmp dword [edi], 0
jne 0x409088
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x409088
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40909e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [esp + 0x24]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x4090cc
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x4090cc
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4090e2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [esp + 0x20]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x409110
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x409110
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x409126
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x409154
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x409154
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40916a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x409198
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x409198
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4091ae
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea esi, [esp + 0x7c]
call fcn.00418e70
mov ecx, esi
call fcn.00403800
lea edi, [esp + 0x30]
call fcn.004039f0
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x4091f5
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x4091f5
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40920b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.004520a0
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004203f0
add esp, 4
lea edi, [esp + 0x30]
call fcn.004039f0
add ebx, 0xfffffff0
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jne 0x409268
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x409268
int3
or edx, 0xffffffff
lock xadd dword [esi], edx
dec edx
test edx, edx
jg 0x40927e
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004520a0
mov esp, ebp
pop ebp
ret 0xc