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

Disassembly:
sub esp, 0x68
push ebx
push esi
lea eax, [esp + 0x40]
xor bl, bl
push 0x2710
push eax
xor esi, esi
mov byte [esp + 0x13], bl
call fcn.004f5240
mov eax, dword [esp + 0x80]
add esp, 8
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, eax
jae 0x541195
push ebp
mov ebp, dword [esp + 0x78]
push edi
mov edi, str.FALSE
nop
push eax
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00541a90
mov edx, eax
add esp, 0xc
mov dword [esp + 0x24], edx
test edx, edx
je case.0x5417af.13
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jae 0x5418f1
nop dword [eax]
push ecx
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00541a90
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je case.0x5417af.13
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x28]
push esi
push dword [esp + 0x70]
push eax
call fcn.00541a90
add esp, 0xc
test eax, eax
je case.0x5417af.13
push esi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00541a90
add esp, 0xc
test eax, eax
je case.0x5417af.13
lea eax, [esp + 0x48]
push eax
call fcn.004f5280
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x36], 0
jne 0x541437
movzx ecx, byte [esp + 0x35]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x541015.7
movzx eax, byte [eax + 0x541960]
jmp dword [eax*4 + 0x541938]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
cmp eax, 1
jne 0x541193
cmp byte [ecx], 0
mov eax, str.TRUE
cmove eax, edi
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004f51a0
add esp, 8
mov esi, eax
jmp case.0x541015.7
mov ebx, dword [esp + 0x30]
mov eax, ebx
mov edi, dword [esp + 0x2c]
sub eax, edi
je 0x541193
cmp eax, 4
jbe 0x541092
xor esi, esi
cmp edi, ebx
jae case.0x541015.7
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x4c]
push str._02x:
push eax
call fcn.004f51d0
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x541068
jmp case.0x541015.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x541098
push ecx
cmp ecx, 0xa
mov eax, 0x562f30
mov ecx, 0x5590e3
cmovb eax, ecx
push eax
lea eax, [esp + 0x50]
push str._s_x
push eax
call fcn.004f51d0
add esp, 0x10
mov esi, eax
jmp case.0x541015.7
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
inc edi
cmp edi, ebx
ja 0x541193
xor esi, esi
cmp edi, ebx
jae case.0x541015.7
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x4c]
push str._02x:
push eax
call fcn.004f51d0
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x5410e3
jmp case.0x541015.7
push dword [esp + 0x30]
lea eax, [esp + 0x4c]
push dword [esp + 0x30]
push eax
call fcn.00541b70
add esp, 0xc
mov esi, eax
jmp case.0x541015.7
push 1
lea eax, [esp + 0x4c]
push 0x5590e3
push eax
call fcn.004f5200
add esp, 0xc
mov esi, eax
jmp case.0x541015.7
push 1
push dword [esp + 0x34]
lea eax, [esp + 0x50]
push dword [esp + 0x34]
push eax
call fcn.005404f0
add esp, 0x10
mov esi, eax
jmp case.0x541015.7
mov edi, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [esp + 0x30]
cmp ecx, edx
jae 0x54117d
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x54117d
inc ecx
cmp ecx, edx
jb 0x541170
lea esi, [edi + 0xa]
mov eax, ecx
sub eax, esi
sub eax, 0
je 0x5411aa
sub eax, 2
je 0x5411af
mov esi, 0x2b
pop edi
pop ebp
lea eax, [esp + 0x40]
push eax
call fcn.004f5210
add esp, 4
mov eax, esi
pop esi
pop ebx
add esp, 0x68
ret
mov esi, 0x5589ec
cmp ecx, edx
jae case.0x5417af.13
cmp byte [ecx], 0x5a
jne 0x5411c4
mov ecx, 0x5589f0
mov edx, 0x5589f3
jmp 0x5411c5
inc ecx
push ecx
sub edx, ecx
lea eax, [edi + 8]
push edx
push esi
push eax
lea eax, [edi + 6]
push eax
lea eax, [edi + 4]
push eax
lea eax, [edi + 2]
push eax
xor eax, eax
cmp byte [edi], 0x35
push edi
setl al
add eax, 0x13
push eax
lea eax, [esp + 0x6c]
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
push eax
call fcn.004f51d0
add esp, 0x2c
mov esi, eax
jmp case.0x541015.7
mov ebp, dword [esp + 0x2c]
mov esi, 0x5590e3
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov dword [esp + 0x1c], esi
cmp ecx, edi
jae 0x541224
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x541224
inc ecx
cmp ecx, edi
jb 0x541217
mov eax, ecx
mov byte [esp + 0x12], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x54124f
sub eax, 1
je 0x54124a
sub eax, 1
jne case.0x5417af.13
mov al, byte [ecx - 2]
mov byte [esp + 0x12], al
mov bh, byte [ecx - 1]
jmp 0x541251
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x5412af
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x541265
cmp bl, 0x2c
jne 0x541294
inc ecx
inc eax
cmp eax, edi
jae 0x541277
mov dl, byte [eax]
cmp dl, 0x30
jl 0x541277
cmp dl, 0x39
jle 0x541266
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x541294
lea esi, [ecx - 1]
add esi, edx
cmp byte [esi], 0x30
jne 0x541290
dec esi
sub edx, 1
jne 0x541285
mov esi, dword [esp + 0x1c]
cmp eax, edi
jae 0x5412af
cmp byte [eax], 0x5a
jne 0x5412a9
mov eax, str._GMT
mov edi, 0x5589bc
jmp 0x5412af
mov esi, 0x563b84
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x5590e3
mov eax, 0x560d9c
cmove eax, ecx
push eax
movsx eax, bh
push eax
movsx eax, byte [esp + 0x2e]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 6]
push eax
lea eax, [ebp + 4]
push eax
push ebp
lea eax, [esp + 0x7c]
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
push eax
call fcn.004f51d0
add esp, 0x3c
mov esi, eax
jmp 0x541427
mov ebx, dword [esp + 0x30]
lea eax, [ecx - 0xc]
mov edi, dword [esp + 0x2c]
xor esi, esi
sub ebx, edi
mov ebp, 1
cmp eax, 0x12
ja case.0x5417af.13
movzx eax, byte [eax + 0x541990]
jmp dword [eax*4 + 0x541980]
mov ebp, 2
jmp case.0x54131e.12
mov ebp, 4
xor edx, edx
mov eax, ebx
div ebp
test edx, edx
jne case.0x5417af.13
cmp ecx, 0xc
jne 0x541362
test ebx, ebx
je 0x541427
push ebx
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.004f5200
add esp, 0xc
mov esi, eax
jmp 0x541427
mov ebx, dword [esp + 0x30]
cmp edi, ebx
jae 0x541427
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x541390
sub eax, 2
jne 0x541399
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
add edi, 2
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
jb 0x541406
cmp ecx, 0x800
jb 0x5413f2
cmp ecx, 0x10000
jb 0x5413de
cmp ecx, 0x200000
jae 0x541908
mov al, cl
mov edx, 2
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [esp + 0x17], al
mov al, cl
or ecx, 0x20000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x16], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x15], al
push edx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], cl
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004f5200
mov esi, eax
add esp, 0xc
test esi, esi
je 0x541366
mov ebp, dword [esp + 0x7c]
test esi, esi
jne 0x541193
mov bl, byte [esp + 0x13]
lea eax, [esp + 0x48]
push eax
call fcn.004f5270
mov edi, eax
add esp, 4
mov ecx, edi
mov al, byte [edi]
cmp al, 0x41
jl 0x54145c
nop
cmp al, 0x5a
ja 0x54145c
mov al, byte [ecx + 1]
inc ecx
cmp al, 0x41
jge 0x541450
test bl, bl
je 0x541490
xor eax, eax
sub ecx, edi
cmp ecx, 2
setle al
inc eax
cmp ecx, 2
push eax
mov ecx, 0x5680f0
mov eax, 0x564a74
cmovg eax, ecx
push eax
push ebp
call fcn.004f5200
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x541193
push edi
push ebp
call fcn.004f51a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x541193
push 1
push 0x557804
push ebp
call fcn.004f5200
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x541193
lea esi, [eax + 0x2b]
cmp byte [esp + 0x46], al
je 0x5414ce
xor esi, esi
jmp 0x5418c5
movzx ecx, byte [esp + 0x45]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x5414e6.7
movzx eax, byte [eax + 0x5419cc]
jmp dword [eax*4 + 0x5419a4]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
cmp eax, 1
jne 0x541193
cmp byte [ecx], 0
mov eax, str.TRUE
mov ecx, str.FALSE
cmove eax, ecx
push eax
push ebp
call fcn.004f51a0
add esp, 8
mov esi, eax
jmp case.0x5414e6.7
mov esi, dword [esp + 0x40]
mov eax, esi
mov edx, dword [esp + 0x3c]
sub eax, edx
je case.0x5417af.13
cmp eax, 4
jbe 0x54154a
push esi
push edx
push ebp
call fcn.00541b70
add esp, 0xc
mov esi, eax
jmp case.0x5414e6.7
movsx ecx, byte [edx]
sar ecx, 0x1f
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, esi
jb 0x541550
push ecx
cmp ecx, 0xa
mov eax, 0x562f30
mov ecx, 0x5590e3
cmovb eax, ecx
push eax
push str._s_x
push ebp
call fcn.004f51d0
add esp, 0x10
mov esi, eax
jmp case.0x5414e6.7
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
inc edi
cmp edi, ebx
ja 0x541193
xor esi, esi
cmp edi, ebx
jae case.0x5414e6.7
movzx eax, byte [edi]
push eax
push str._02x:
push ebp
call fcn.004f51d0
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x541597
jmp case.0x5414e6.7
push dword [esp + 0x40]
push dword [esp + 0x40]
push ebp
call fcn.00541b70
add esp, 0xc
mov esi, eax
jmp case.0x5414e6.7
push 1
push 0x5590e3
push ebp
call fcn.004f5200
add esp, 0xc
mov esi, eax
jmp case.0x5414e6.7
push 1
push dword [esp + 0x44]
push dword [esp + 0x44]
push ebp
call fcn.005404f0
add esp, 0x10
mov esi, eax
jmp case.0x5414e6.7
mov edi, dword [esp + 0x3c]
mov ecx, edi
mov edx, dword [esp + 0x40]
cmp ecx, edx
jae 0x541621
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x541621
inc ecx
cmp ecx, edx
jb 0x541614
lea esi, [edi + 0xa]
mov eax, ecx
sub eax, esi
sub eax, 0
je 0x541638
sub eax, 2
jne case.0x5417af.13
jmp 0x54163d
mov esi, 0x5589ec
cmp ecx, edx
jae case.0x5417af.13
cmp byte [ecx], 0x5a
jne 0x541656
mov ecx, 0x5589f0
mov edx, 0x5589f3
jmp 0x541657
inc ecx
push ecx
sub edx, ecx
lea eax, [edi + 8]
push edx
push esi
push eax
lea eax, [edi + 6]
push eax
lea eax, [edi + 4]
push eax
lea eax, [edi + 2]
push eax
xor eax, eax
cmp byte [edi], 0x35
push edi
setl al
add eax, 0x13
push eax
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
push ebp
call fcn.004f51d0
add esp, 0x2c
mov esi, eax
jmp case.0x5414e6.7
mov ebp, dword [esp + 0x3c]
mov esi, 0x5590e3
mov edi, dword [esp + 0x40]
mov ecx, ebp
mov dword [esp + 0x1c], esi
cmp ecx, edi
jae 0x5416b2
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x5416b2
inc ecx
cmp ecx, edi
jb 0x5416a5
mov eax, ecx
mov byte [esp + 0x12], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x5416dd
sub eax, 1
je 0x5416d8
sub eax, 1
jne case.0x5417af.13
mov al, byte [ecx - 2]
mov byte [esp + 0x12], al
mov bh, byte [ecx - 1]
jmp 0x5416df
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x54173d
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x5416f3
cmp bl, 0x2c
jne 0x541722
inc ecx
inc eax
cmp eax, edi
jae 0x541705
mov dl, byte [eax]
cmp dl, 0x30
jl 0x541705
cmp dl, 0x39
jle 0x5416f4
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x541722
lea esi, [ecx - 1]
add esi, edx
cmp byte [esi], 0x30
jne 0x54171e
dec esi
sub edx, 1
jne 0x541713
mov esi, dword [esp + 0x1c]
cmp eax, edi
jae 0x54173d
cmp byte [eax], 0x5a
jne 0x541737
mov eax, str._GMT
mov edi, 0x5589bc
jmp 0x54173d
mov esi, 0x563b84
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x5590e3
mov eax, 0x560d9c
cmove eax, ecx
push eax
movsx eax, bh
push eax
movsx eax, byte [esp + 0x2e]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 6]
push eax
lea eax, [ebp + 4]
push eax
push ebp
mov ebp, dword [esp + 0xb0]
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
push ebp
call fcn.004f51d0
add esp, 0x3c
mov esi, eax
jmp case.0x5414e6.7
mov ebx, dword [esp + 0x40]
lea eax, [ecx - 0xc]
mov edi, dword [esp + 0x3c]
xor esi, esi
sub ebx, edi
mov ebp, 1
cmp eax, 0x12
ja case.0x5417af.13
movzx eax, byte [eax + 0x5419fc]
jmp dword [eax*4 + 0x5419ec]
mov ebp, 2
jmp case.0x5417af.12
mov ebp, 4
xor edx, edx
mov eax, ebx
div ebp
test edx, edx
jne case.0x5417af.13
cmp ecx, 0xc
jne 0x5417f3
mov ebp, dword [esp + 0x7c]
test ebx, ebx
je case.0x5414e6.7
push ebx
push edi
push ebp
call fcn.004f5200
add esp, 0xc
mov esi, eax
jmp case.0x5414e6.7
mov ebx, dword [esp + 0x40]
cmp edi, ebx
jae 0x5418b9
mov ecx, ebp
xor eax, eax
mov edx, 1
sub ecx, 2
je 0x541821
sub ecx, 2
jne 0x54182a
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
add edi, 2
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
inc edi
movzx ecx, byte [edi]
inc edi
shl eax, 8
or eax, ecx
cmp eax, 0x80
jb 0x541896
cmp eax, 0x800
jb 0x541881
cmp eax, 0x10000
jb 0x54186c
cmp eax, 0x200000
jae 0x541920
mov cl, al
mov edx, 2
and cl, 0x3f
or eax, 0x400000
or cl, 0x80
shr eax, 6
mov byte [esp + 0x1b], cl
mov cl, al
or eax, 0x20000
and cl, 0x3f
shr eax, 6
or cl, 0x80
inc edx
mov byte [esp + 0x1a], cl
mov cl, al
or eax, 0x3000
and cl, 0x3f
shr eax, 6
or cl, 0x80
inc edx
mov byte [esp + 0x19], cl
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push edx
push eax
push dword [esp + 0x84]
call fcn.004f5200
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5417f7
mov ebp, dword [esp + 0x7c]
test esi, esi
jne 0x541193
lea eax, [esp + 0x48]
push eax
call fcn.004f5280
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x60]
mov bl, 1
mov byte [esp + 0x13], bl
mov edi, str.FALSE
cmp eax, ecx
jb 0x540f90
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 8]
cmp edx, eax
jb 0x540f60
jmp 0x541193
lea eax, [esp + 0x14]
push eax
call dword [0x570004]
add esp, 4
mov esi, 8
jmp 0x541193
lea eax, [esp + 0x18]
push eax
call dword [0x570004]
add esp, 4
mov esi, 8
jmp 0x541193