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

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10045278]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x114]
push ebx
push ebp
mov ebp, dword [esp + 0x118]
push esi
push edi
xor ecx, ecx
xor esi, esi
push 0xffffffffffffffff
mov word [esp + 0x68], cx
push esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], esi
call fcn.100023d0
cmp dword [esp + 0x78], 8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [esp + 0x1f], 0
jb 0x100044d3
mov edi, dword [esp + 0x64]
cmp edi, esi
je 0x100044e0
push str._nNHS
call ebx
push eax
push str._nNHS
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
neg eax
sbb eax, eax
inc eax
cmp eax, esi
je 0x100044dc
push 0xffffffffffffffff
xor edx, edx
push 2
lea eax, [esp + 0x68]
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], esi
mov word [esp + 0x88], dx
call fcn.100023d0
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x84]
lea ecx, [esp + 0x68]
call fcn.100023d0
cmp dword [esp + 0x94], 8
jb 0x10004570
mov eax, dword [esp + 0x80]
push eax
call fcn.10021a62
add esp, 4
jmp 0x10004570
lea edi, [esp + 0x64]
jmp 0x10004450
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x78], 8
jae 0x100044ed
lea edi, [esp + 0x64]
jmp 0x100044f1
cmp edi, esi
je 0x10004570
push str._vNHS
call ebx
push eax
push str._vNHS
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
neg eax
sbb eax, eax
inc eax
cmp eax, esi
je 0x10004570
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x84], cx
push 2
lea eax, [esp + 0x68]
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], esi
call fcn.100023d0
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x84]
lea ecx, [esp + 0x68]
call fcn.100023d0
cmp dword [esp + 0x94], 8
jb 0x1000456b
mov edx, dword [esp + 0x80]
push edx
call fcn.10021a62
add esp, 4
mov byte [esp + 0x1f], 1
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
mov word [ebp + 4], ax
lea edx, [esp + 0x24]
add ebp, 4
xor ecx, ecx
push edx
mov word [esp + 0x28], cx
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edi, 0x1003d058
lea eax, [esp + 0x10]
call fcn.10008be0
push eax
lea edi, [esp + 0x64]
call fcn.1000cb40
mov bl, al
add esp, 4
lea eax, [esp + 0x10]
call fcn.10008c60
test bl, bl
je 0x10004728
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0xda]
push ecx
mov word [esp + 0xdc], ax
call fcn.10028000
add esp, 0xc
push 0x1003d17c
mov ebx, 1
xor eax, eax
mov edx, edi
call fcn.100091d0
mov edi, eax
lea ebp, [edi + 1]
push 0x1003d180
mov eax, ebp
lea edx, [esp + 0x64]
call fcn.100091d0
mov ebx, 8
mov esi, eax
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebx
jae 0x1000462e
lea eax, [esp + 0x64]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push eax
lea edx, [esp + 0xd8]
push edx
call ebp
lea eax, [esp + 0xd0]
push eax
call fcn.10021bb6
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebx
jae 0x10004662
lea eax, [esp + 0x64]
mov ecx, esi
sub ecx, edi
push ecx
lea edx, [eax + edi*2 + 2]
push edx
lea eax, [esp + 0xd8]
push eax
call ebp
lea ecx, [esp + 0xd0]
push ecx
call fcn.10021bb6
mov edi, eax
mov eax, dword [esp + 0x78]
add esi, 2
add esp, 4
sub eax, esi
push eax
xor edx, edx
push esi
lea eax, [esp + 0x68]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], dx
call fcn.100023d0
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebx
jae 0x100046c5
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x18]
movzx edx, word [esp + 0x24]
push eax
push edi
push ecx
push edx
push str._04d__02d__02d__ls:00
lea esi, [esp + 0xac]
call fcn.100139dd
mov ecx, dword [esp + 0x34]
add esp, 0x14
push 0xffffffffffffffff
push 0
call fcn.100023d0
cmp dword [esp + 0xb0], ebx
jb 0x1000470c
mov eax, dword [esp + 0x9c]
push eax
call fcn.10021a62
add esp, 4
cmp dword [esp + 0x5c], ebx
jb 0x10004cd3
mov ecx, dword [esp + 0x48]
push ecx
call fcn.10021a62
add esp, 4
jmp 0x10004cd3
mov edi, 0x1003d0a0
lea eax, [esp + 0x10]
call fcn.10008be0
push eax
lea edi, [esp + 0x64]
call fcn.1000cb40
mov bl, al
add esp, 4
lea eax, [esp + 0x10]
call fcn.10008c60
test bl, bl
je 0x1000499e
test byte [0x10049064], 1
jne 0x10004778
or dword [0x10049064], 1
call fcn.10009580
push 0x10039a10
call fcn.100218b4
add esp, 4
cmp dword [0x10049040], esi
jne 0x10004828
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x65e5
call fcn.10008cd0
mov dword [eax], esi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x4e00
call fcn.10008cd0
lea ecx, [esp + 0x18]
push ecx
mov dword [eax], 1
mov dword [esp + 0x1c], 0x4e8c
call fcn.10008cd0
lea edx, [esp + 0x18]
push edx
mov dword [eax], 2
mov dword [esp + 0x1c], 0x4e09
call fcn.10008cd0
mov dword [eax], 3
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x56db
call fcn.10008cd0
lea ecx, [esp + 0x18]
push ecx
mov dword [eax], 4
mov dword [esp + 0x1c], 0x4e94
call fcn.10008cd0
lea edx, [esp + 0x18]
push edx
mov dword [eax], 5
mov dword [esp + 0x1c], 0x516d
call fcn.10008cd0
mov dword [eax], 6
cmp dword [esp + 0x74], 2
jae 0x10004834
call fcn.10021a28
mov eax, dword [esp + 0x64]
mov ebx, 8
cmp dword [esp + 0x78], ebx
jae 0x10004847
lea eax, [esp + 0x64]
add eax, 4
push eax
call fcn.10008cd0
mov edi, dword [eax]
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebx
jae 0x10004860
lea eax, [esp + 0x64]
add eax, 8
xor ecx, ecx
mov word [esp + 0x80], cx
mov ecx, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], esi
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, si
jne 0x10004884
sub ecx, ebx
sar ecx, 1
push ecx
lea esi, [esp + 0x80]
call fcn.10002820
movzx eax, word [esp + 0x28]
cmp edi, eax
jl 0x100048b0
sub eax, edi
add eax, 7
jmp 0x100048b2
sub eax, edi
lea edx, [esp + 0x10]
mov esi, eax
push edx
lea eax, [esp + 0x28]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 0xc9
mov eax, esi
cdq
push 0x2a69c000
push edx
push eax
call fcn.10031980
sub dword [esp + 0x10], eax
sbb dword [esp + 0x14], edx
xor eax, eax
lea edx, [esp + 0x44]
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov word [esp + 0x52], ax
push edx
lea eax, [esp + 0x14]
xor ecx, ecx
push eax
mov word [esp + 0x4c], cx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov eax, dword [esp + 0x80]
mov ebx, 8
cmp dword [esp + 0x94], ebx
jae 0x10004930
lea eax, [esp + 0x80]
movzx ecx, word [esp + 0x4a]
movzx edx, word [esp + 0x46]
push eax
movzx eax, word [esp + 0x48]
push ecx
push edx
push eax
push str._04d__02d__02d__ls:00
lea esi, [esp + 0xac]
call fcn.100139dd
mov ecx, dword [esp + 0x34]
add esp, 0x14
push 0xffffffffffffffff
push edi
call fcn.100023d0
cmp dword [esp + 0xb0], ebx
jb 0x1000497c
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.10021a62
add esp, 4
cmp dword [esp + 0x94], ebx
jb 0x10004cd3
mov edx, dword [esp + 0x80]
push edx
call fcn.10021a62
add esp, 4
jmp 0x10004cd3
mov edi, str.d1_2:d1_2_
lea eax, [esp + 0x10]
call fcn.10008be0
push eax
lea edi, [esp + 0x64]
call fcn.1000cb40
mov bl, al
add esp, 4
lea eax, [esp + 0x10]
call fcn.10008c60
test bl, bl
je 0x10004ab4
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x100049db
lea eax, [esp + 0x64]
movzx ecx, word [esp + 0x26]
movzx edx, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x2e]
push eax
push ecx
push edx
push str._04d__02d__02d__ls:00
lea esi, [esp + 0xac]
call fcn.100139dd
mov ecx, dword [esp + 0x34]
add esp, 0x14
push 0xffffffffffffffff
push 0
call fcn.100023d0
cmp dword [esp + 0xb0], 8
jb 0x10004a29
mov eax, dword [esp + 0x9c]
push eax
call fcn.10021a62
add esp, 4
cmp byte [esp + 0x1f], 0
je 0x10004cd3
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x18], 8
jb 0x10004a41
mov ebp, dword [ebp]
lea edx, [esp + 0x44]
push edx
push ebp
call fcn.10013108
test eax, eax
je 0x10004cd3
mov ax, word [esp + 0x4c]
cmp ax, 0xc
jae 0x10004cd3
movzx ecx, word [esp + 0x50]
movzx edx, word [esp + 0x4e]
push ecx
movzx ecx, word [esp + 0x4e]
add ax, 0xc
push edx
movzx edx, word [esp + 0x4e]
movzx eax, ax
push eax
movzx eax, word [esp + 0x50]
push ecx
push edx
push eax
push 0x1003d1b0
lea esi, [esp + 0xb4]
call fcn.100139dd
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
push 0xffffffffffffffff
push 0
call fcn.100023d0
call fcn.1000d330
jmp 0x10004cd3
mov edi, 0x1003d0f4
lea eax, [esp + 0x10]
call fcn.10008be0
push eax
lea edi, [esp + 0x64]
call fcn.1000cb40
mov bl, al
add esp, 4
lea eax, [esp + 0x10]
call fcn.10008c60
test bl, bl
je 0x10004be0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x10004b09
lea eax, [esp + 0x64]
push eax
mov esi, str._f_Y
call fcn.100139ad
neg eax
sbb eax, eax
push 0xc9
add eax, 2
cdq
push 0x2a69c000
push edx
push eax
call fcn.10031980
sub dword [esp + 0x10], eax
lea ecx, [esp + 0x44]
push ecx
sbb dword [esp + 0x18], edx
xor eax, eax
lea edx, [esp + 0x14]
push edx
mov word [esp + 0x4c], ax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov word [esp + 0x5a], ax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov eax, dword [esp + 0x64]
mov esi, 8
cmp dword [esp + 0x78], esi
jae 0x10004b70
lea eax, [esp + 0x64]
add eax, 6
lea ecx, [esp + 0x98]
call fcn.10001fd0
mov eax, dword [esp + 0x9c]
cmp dword [esp + 0xb0], esi
jae 0x10004b96
lea eax, [esp + 0x9c]
movzx ecx, word [esp + 0x46]
movzx edx, word [esp + 0x44]
push eax
movzx eax, word [esp + 0x4e]
push eax
push ecx
push edx
push str._04d__02d__02d__ls:00
lea esi, [esp + 0x90]
call fcn.100139dd
mov ecx, dword [esp + 0x34]
add esp, 0x14
push 0xffffffffffffffff
push 0
call fcn.100023d0
call fcn.1000d330
lea esi, [esp + 0x98]
call fcn.1000d330
jmp 0x10004cd3
mov edi, str.d1_2_d1_2_d1_2:d1_2:d1_2
lea eax, [esp + 0x10]
call fcn.10008be0
push eax
lea edi, [esp + 0x64]
call fcn.1000cb40
mov bl, al
add esp, 4
lea eax, [esp + 0x10]
call fcn.10008c60
test bl, bl
je 0x10004cd3
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x10004c1d
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
push eax
mov ebx, 0x1003d1f4
call fcn.100138f9
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 8
cmp ecx, 5
jne 0x10004cca
lea edi, [ecx - 1]
lea esi, [esp + 0x44]
call fcn.10008980
call fcn.1000cbe0
push eax
mov edi, 3
call fcn.10008980
call fcn.1000cbe0
push eax
mov edi, 2
call fcn.10008980
call fcn.1000cbe0
push eax
mov edi, 1
call fcn.10008980
call fcn.1000cbe0
push eax
xor edi, edi
call fcn.10008980
call fcn.1000cbe0
movzx edx, word [esp + 0x34]
push eax
push edx
push 0x1003d1b0
lea esi, [esp + 0xb4]
call fcn.100139dd
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
push 0xffffffffffffffff
push edi
call fcn.100023d0
call fcn.1000d330
lea esi, [esp + 0x44]
call fcn.10008930
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
add dword [esp + 0x10], 0xd693a400
lea eax, [esp + 0x34]
push eax
adc dword [esp + 0x18], 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx edx, word [esp + 0x40]
movzx eax, word [esp + 0x3e]
movzx ecx, word [esp + 0x3c]
push edx
movzx edx, word [esp + 0x3e]
push eax
movzx eax, word [esp + 0x3e]
push ecx
movzx ecx, word [esp + 0x40]
push edx
push eax
push ecx
push 0x1003d1b0
lea esi, [esp + 0xd0]
call fcn.100139dd
add esp, 0x1c
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 0x14]
mov ebx, 8
cmp dword [esi + 0x18], ebx
jb 0x10004d59
mov eax, dword [esi + 4]
jmp 0x10004d5c
lea eax, [esi + 4]
push eax
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0xb8]
call fcn.1000cec0
test eax, eax
jge 0x10004f01
xor eax, eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov word [esp + 0x52], ax
lea eax, [esp + 0x44]
xor edx, edx
push eax
mov eax, esi
mov word [esp + 0x48], dx
call fcn.10002040
push eax
call fcn.10013108
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
add dword [esp + 0x10], 0xd5964000
lea eax, [esp + 0x44]
push eax
adc dword [esp + 0x18], 0xffffff36
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x98]
call fcn.100133f6
cmp dword [eax + 0x18], 0x10
jb 0x10004def
mov ebp, dword [eax + 4]
jmp 0x10004df2
lea ebp, [eax + 4]
test ebp, ebp
je 0x10004e45
push 0
push 0
push 0xffffffffffffffff
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea ebx, [edi + edi + 2]
push ebx
call fcn.10026c3f
mov esi, eax
add esp, 4
test esi, esi
je 0x10004e45
push ebx
push 0
push esi
call fcn.10028000
add esp, 0xc
push edi
push esi
push 0xffffffffffffffff
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, esi
jmp 0x10004e4c
xor edi, edi
mov esi, 0x1003ca08
xor ebx, ebx
xor edx, edx
mov ecx, esi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], dx
lea eax, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10004e70
sub ecx, eax
sar ecx, 1
mov eax, esi
push ecx
lea esi, [esp + 0x80]
call fcn.10002820
push edi
call fcn.10021bc1
add esp, 4
cmp dword [esp + 0xb0], 0x10
jb 0x10004eb1
mov eax, dword [esp + 0x9c]
push eax
call fcn.10021a62
add esp, 4
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x84]
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], 0
call fcn.100023d0
cmp dword [esp + 0x94], 8
jb 0x10004d43
mov ecx, dword [esp + 0x80]
push ecx
call fcn.10021a62
add esp, 4
jmp 0x10004d43
cmp dword [esp + 0xcc], ebx
jb 0x10004f1a
mov edx, dword [esp + 0xb8]
push edx
call fcn.10021a62
add esp, 4
xor eax, eax
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], 0
mov word [esp + 0xb8], ax
cmp dword [esp + 0x78], ebx
jb 0x10004f4d
mov ecx, dword [esp + 0x64]
push ecx
call fcn.10021a62
add esp, 4
mov ecx, dword [esp + 0x114]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10021592
add esp, 0x10c
ret