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

Disassembly:
push 0xffffffffffffffff
push 0x644fce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov eax, dword [0x6bd8a0]
push ebx
mov dword [esp + 0x78], eax
push esi
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x64]
lea edx, [esp + 0x74]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov byte [esp + 0x64], 0
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x88], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov byte [esp + 0x4c], 0
mov ax, word [esp + 0x42]
cmp ax, 0xa
mov byte [esp + 0x88], 2
jae 0x540d75
movzx edx, ax
push edx
lea eax, [esp + 0xc]
push eax
call fcn.004060d0
push eax
lea ecx, [esp + 0x2c]
push 0x6541e8
mov bl, 3
push ecx
mov byte [esp + 0x9c], bl
call fcn.00404f30
add esp, 0x14
lea edx, [esp + 0x4c]
cmp eax, edx
mov byte [esp + 0x88], 4
je 0x540d26
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
je 0x540d1b
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00403ff0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x30]
cmp eax, ecx
mov byte [esp + 0x88], bl
je 0x540d69
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x540d69
sub eax, ecx
cmp eax, 0x80
jbe 0x540d5f
push ecx
call fcn.00611869
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
add esp, 4
cmp eax, edx
jmp 0x540dba
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
cmp eax, edx
jmp 0x540dba
movzx eax, ax
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004060d0
add esp, 8
lea edx, [esp + 0x4c]
cmp eax, edx
mov byte [esp + 0x88], 5
je 0x540db0
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
je 0x540da5
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], 2
je 0x540dea
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x540dea
sub eax, ecx
cmp eax, 0x80
jbe 0x540de0
push ecx
call fcn.00611869
add esp, 4
jmp 0x540dea
push eax
push ecx
call fcn.005d6970
add esp, 8
push 0x6541e4
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00404ce0
add esp, 0xc
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
mov byte [esp + 0x88], 6
je 0x540e18
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.00403e70
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], 2
je 0x540e5d
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x540e5d
sub eax, ecx
cmp eax, 0x80
jbe 0x540e53
push ecx
call fcn.00611869
add esp, 4
jmp 0x540e5d
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ax, word [esp + 0x3e]
cmp ax, 0xa
jae 0x540f13
movzx edx, ax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004060d0
push eax
lea ecx, [esp + 0x14]
push 0x6541e8
mov bl, 7
push ecx
mov byte [esp + 0x9c], bl
call fcn.00404f30
add esp, 0x14
lea edx, [esp + 0x4c]
cmp eax, edx
mov byte [esp + 0x88], 8
je 0x540ec0
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
je 0x540eb5
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], bl
je 0x540ef9
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x540ef9
sub eax, ecx
cmp eax, 0x80
jbe 0x540eef
push ecx
call fcn.00611869
add esp, 4
jmp 0x540ef9
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
cmp eax, edx
mov byte [esp + 0x88], 2
je 0x540f88
mov ecx, dword [esp + 0x20]
jmp 0x540f66
movzx eax, ax
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004060d0
add esp, 8
lea edx, [esp + 0x4c]
cmp eax, edx
mov byte [esp + 0x88], 9
je 0x540f4e
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
je 0x540f43
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], 2
je 0x540f88
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x540f88
sub eax, ecx
cmp eax, 0x80
jbe 0x540f7e
push ecx
call fcn.00611869
add esp, 4
jmp 0x540f88
push eax
push ecx
call fcn.005d6970
add esp, 8
push 0x6541e4
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00404ce0
add esp, 0xc
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
mov byte [esp + 0x88], 0xa
je 0x540fb6
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.00403e70
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], 2
je 0x540ffb
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x540ffb
sub eax, ecx
cmp eax, 0x80
jbe 0x540ff1
push ecx
call fcn.00611869
add esp, 4
jmp 0x540ffb
push eax
push ecx
call fcn.005d6970
add esp, 8
movzx edx, word [esp + 0x3c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004060d0
push 0x6541e0
push eax
lea ecx, [esp + 0x18]
mov bl, 0xb
push ecx
mov byte [esp + 0x9c], bl
call fcn.00404ce0
add esp, 0x14
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
mov byte [esp + 0x88], 0xc
je 0x54103e
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.00403e70
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
cmp eax, edx
mov byte [esp + 0x88], bl
je 0x541082
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x541082
sub eax, ecx
cmp eax, 0x80
jbe 0x541078
push ecx
call fcn.00611869
add esp, 4
jmp 0x541082
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x30]
cmp eax, ecx
mov byte [esp + 0x88], 2
je 0x5410bc
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5410bc
sub eax, ecx
cmp eax, 0x80
jbe 0x5410b2
push ecx
call fcn.00611869
add esp, 4
jmp 0x5410bc
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ax, word [esp + 0x44]
cmp ax, 0xa
jae 0x541172
movzx edx, ax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004060d0
push eax
lea ecx, [esp + 0x14]
push 0x6541e8
mov bl, 0xd
push ecx
mov byte [esp + 0x9c], bl
call fcn.00404f30
add esp, 0x14
lea edx, [esp + 0x4c]
cmp eax, edx
mov byte [esp + 0x88], 0xe
je 0x54111f
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
je 0x541114
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], bl
je 0x541158
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x541158
sub eax, ecx
cmp eax, 0x80
jbe 0x54114e
push ecx
call fcn.00611869
add esp, 4
jmp 0x541158
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
cmp eax, edx
mov byte [esp + 0x88], 2
je 0x5411e7
mov ecx, dword [esp + 0x20]
jmp 0x5411c5
movzx eax, ax
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004060d0
add esp, 8
lea edx, [esp + 0x4c]
cmp eax, edx
mov byte [esp + 0x88], 0xf
je 0x5411ad
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
je 0x5411a2
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], 2
je 0x5411e7
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x5411e7
sub eax, ecx
cmp eax, 0x80
jbe 0x5411dd
push ecx
call fcn.00611869
add esp, 4
jmp 0x5411e7
push eax
push ecx
call fcn.005d6970
add esp, 8
push 0x6541dc
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00404ce0
add esp, 0xc
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
mov byte [esp + 0x88], 0x10
je 0x541215
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.00403e70
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], 2
je 0x54125a
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x54125a
sub eax, ecx
cmp eax, 0x80
jbe 0x541250
push ecx
call fcn.00611869
add esp, 4
jmp 0x54125a
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ax, word [esp + 0x46]
cmp ax, 0xa
jae 0x541310
movzx edx, ax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004060d0
push eax
lea ecx, [esp + 0x14]
push 0x6541e8
mov bl, 0x11
push ecx
mov byte [esp + 0x9c], bl
call fcn.00404f30
add esp, 0x14
lea edx, [esp + 0x4c]
cmp eax, edx
mov byte [esp + 0x88], 0x12
je 0x5412bd
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
je 0x5412b2
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], bl
je 0x5412f6
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x5412f6
sub eax, ecx
cmp eax, 0x80
jbe 0x5412ec
push ecx
call fcn.00611869
add esp, 4
jmp 0x5412f6
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
cmp eax, edx
mov byte [esp + 0x88], 2
je 0x541385
mov ecx, dword [esp + 0x20]
jmp 0x541363
movzx eax, ax
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004060d0
add esp, 8
lea edx, [esp + 0x4c]
cmp eax, edx
mov byte [esp + 0x88], 0x13
je 0x54134b
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
je 0x541340
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], 2
je 0x541385
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x541385
sub eax, ecx
cmp eax, 0x80
jbe 0x54137b
push ecx
call fcn.00611869
add esp, 4
jmp 0x541385
push eax
push ecx
call fcn.005d6970
add esp, 8
push 0x6541dc
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00404ce0
add esp, 0xc
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
mov byte [esp + 0x88], 0x14
je 0x5413b3
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.00403e70
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], 2
je 0x5413f8
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x5413f8
sub eax, ecx
cmp eax, 0x80
jbe 0x5413ee
push ecx
call fcn.00611869
add esp, 4
jmp 0x5413f8
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x48]
cmp ax, 0xa
jae 0x5414ad
movzx edx, ax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004060d0
push eax
lea ecx, [esp + 0x14]
push 0x6541e8
mov bl, 0x15
push ecx
mov byte [esp + 0x9c], bl
call fcn.00404f30
add esp, 0x14
lea edx, [esp + 0x4c]
cmp eax, edx
mov byte [esp + 0x88], 0x16
je 0x54145a
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
je 0x54144f
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], bl
je 0x541493
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x541493
sub eax, ecx
cmp eax, 0x80
jbe 0x541489
push ecx
call fcn.00611869
add esp, 4
jmp 0x541493
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
cmp eax, edx
mov byte [esp + 0x88], 2
je 0x541522
mov ecx, dword [esp + 0x20]
jmp 0x541500
movzx eax, ax
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004060d0
add esp, 8
lea edx, [esp + 0x4c]
cmp eax, edx
mov byte [esp + 0x88], 0x17
je 0x5414e8
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp esi, ecx
je 0x5414dd
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0x88], 2
je 0x541522
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x541522
sub eax, ecx
cmp eax, 0x80
jbe 0x541518
push ecx
call fcn.00611869
add esp, 4
jmp 0x541522
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x5c]
cmp eax, edx
lea eax, [esp + 0x4c]
je 0x541536
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.00403e70
mov esi, dword [esp + 0x90]
lea edx, [esp + 0x64]
push edx
mov ecx, esi
call fcn.00403e10
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x5c]
cmp eax, ecx
mov dword [esp + 0x38], 1
mov byte [esp + 0x88], 1
je 0x54159a
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x54159a
sub eax, ecx
cmp eax, 0x80
jbe 0x541590
push ecx
call fcn.00611869
add esp, 4
jmp 0x54159a
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x74]
cmp eax, edx
mov byte [esp + 0x88], 0
je 0x5415d4
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x5415d4
sub eax, ecx
cmp eax, 0x80
jbe 0x5415ca
push ecx
call fcn.00611869
add esp, 4
jmp 0x5415d4
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, dword [esp + 0x80]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x78]
pop ebx
call fcn.006122a5
add esp, 0x84
ret