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

Disassembly:
mov ecx, dword [0x5d53a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497dd7
sub esp, 0x70
mov edx, dword [esp + 0x74]
test edx, edx
je 0x4979b7
lea ebx, [0x5b05c0]
cmp edx, ebx
jne 0x4979bd
lea eax, [0x5d5458]
mov dword [esp], eax
lea eax, [0x4fba20]
mov dword [esp + 4], eax
call sym.sync._Once_.Do
mov edx, dword [esp + 0x74]
jmp 0x4979bd
lea edx, [0x5ae700]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x497b70
mov dword [esp + 0x58], ecx
mov ebx, dword [edx + 0x38]
test ebx, ebx
je 0x497a89
mov ebp, dword [edx + 0x28]
mov dword [esp + 0x54], ebp
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0x7c]
cmp edi, esi
sete al
setg cl
mov esi, dword [esp + 0x78]
cmp esi, ebp
xchg ebp, ebx
setae bl
xchg ebp, ebx
and ebp, eax
or ecx, ebp
test cl, cl
je 0x497a91
mov ebp, dword [edx + 0x30]
mov dword [esp + 0x4c], ebp
mov eax, dword [edx + 0x34]
mov dword [esp + 0x48], eax
cmp edi, eax
sete cl
setl al
cmp esi, ebp
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ecx
or eax, ebp
test al, al
je 0x497a91
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
movzx ebx, byte [ebx + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
mov byte [esp + 0x9c], bl
add esp, 0x70
ret
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x64], edx
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x497ae0
mov ebx, dword [edx + 0x14]
mov ebp, dword [ebx + 4]
cmp edi, ebp
xchg ebp, ebx
setl bl
xchg ebp, ebx
sete al
cmp dword [ebx], esi
seta dl
and edx, eax
or edx, ebp
test dl, dl
jne 0x497adc
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], ebx
mov eax, ecx
xor edx, edx
mov ebp, 0x7fffffff
mov eax, 0xffffffff
mov dword [esp + 0x54], eax
mov eax, ecx
jmp 0x497bf4
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call sym.time._Location_.lookupFirstZone
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 4]
cmp edx, ecx
jae 0x497bcb
mov ecx, dword [eax + 8]
shl edx, 4
mov ebx, dword [eax + 0x18]
mov ebp, dword [edx + ecx]
mov esi, dword [edx + ecx + 4]
mov edi, dword [edx + ecx + 8]
test ebx, ebx
je 0x497b1d
mov eax, dword [eax + 0x14]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x497b27
mov ebx, 0x7fffffff
mov eax, 0xffffffff
movzx ecx, byte [edx + ecx + 0xc]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], eax
mov byte [esp + 0x9c], cl
add esp, 0x70
ret
lea eax, [0x4f025a]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 3
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0x7fffffff
mov dword [esp + 0x94], 0xffffffff
mov byte [esp + 0x9c], 0
add esp, 0x70
ret
mov eax, edx
call sym.runtime.panicIndex
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x5c], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], ebp
sub ecx, edx
cmp ecx, 1
jle 0x497c57
mov dword [esp + 0x40], ecx
shr ecx, 0x1f
mov ebp, dword [esp + 0x40]
add ebp, ecx
sar ebp, 1
add ebp, edx
cmp eax, ebp
jbe 0x497dcd
lea ecx, [ebp + ebp*2]
mov eax, dword [ebx + ecx*4]
mov ecx, dword [ebx + ecx*4 + 4]
cmp edi, ecx
xchg edi, ebx
sete bl
xchg edi, ebx
setl bl
cmp esi, eax
xchg esi, ebx
setb bl
xchg esi, ebx
and edi, esi
or ebx, edi
test bl, bl
jne 0x497bd2
mov edx, ebp
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
jmp 0x497bd2
cmp edx, eax
jae 0x497dc4
lea edi, [edx + edx*2]
lea ecx, [ebx + edi*4 + 8]
movzx ecx, byte [ecx]
mov esi, dword [esp + 0x58]
cmp esi, ecx
jbe 0x497dbb
mov esi, dword [esp + 0x64]
mov ebp, dword [esi + 8]
shl ecx, 4
dec eax
mov esi, dword [ecx + ebp]
mov dword [esp + 0x68], esi
mov esi, dword [ecx + ebp + 4]
mov dword [esp + 0x58], esi
mov esi, dword [ecx + ebp + 8]
mov dword [esp + 0x44], esi
mov esi, dword [ebx + edi*4]
mov ebx, dword [ebx + edi*4 + 4]
movzx ecx, byte [ecx + ebp + 0xc]
cmp edx, eax
jne 0x497d6b
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x24]
test edx, edx
je 0x497d6b
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x3b], cl
mov eax, dword [eax + 0x20]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
call sym.time.tzset
movzx eax, byte [esp + 0x35]
test al, al
jne 0x497d05
movzx ecx, byte [esp + 0x3b]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
jmp 0x497d6b
mov eax, dword [esp + 0x20]
movzx ecx, byte [esp + 0x34]
mov byte [esp + 0x3a], cl
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ecx
movzx eax, byte [esp + 0x3a]
mov byte [esp + 0x9c], al
add esp, 0x70
ret
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], esi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], eax
mov byte [esp + 0x9c], cl
add esp, 0x70
ret
mov eax, ecx
mov ecx, esi
call sym.runtime.panicIndex
mov ecx, eax
mov eax, edx
call sym.runtime.panicIndex
mov ecx, eax
mov eax, ebp
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.time._Location_.lookup