Function at 0x140053350
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [rsp + 0x100]
add rax, 0xe8
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x110]
mov r8, qword [rax]
mov edx, 0xa
mov rcx, qword [rsp + 0x48]
call fcn.1400bcc00
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400534e4
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, qword [rsp + 0x110]
mov r8, qword [rcx]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140026510
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140053410
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x4c], 0
jne 0x1400534df
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.1400268a0
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0xc88
call fcn.140026840
mov rcx, qword [rsp + 0xa0]
mov r9, rcx
mov r8, rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.140056140
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 2
jne 0x1400534df
mov rax, qword [rsp + 0x28]
mov byte [rax + 0xda], 0
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x48], 2
mov edx, 2
mov rcx, qword [rsp + 0x108]
call fcn.14003d3f0
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0xac2]
test eax, eax
jne 0x1400534da
lea rdx, [0x1401716b0]
mov rcx, qword [rsp + 0x100]
call fcn.14003c120
mov eax, 1
jmp 0x140054bc6
jmp 0x140054bc4
jmp 0x140054bc4
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x50]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rax]
sub rax, rcx
mov rcx, qword [rsp + 0x110]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
inc rax
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x50], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rax + 0x50]
sub rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140026510
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140053579
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x4c], 0
jne 0x14005368d
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.1400268a0
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0xc88
call fcn.140026840
mov rcx, qword [rsp + 0xa8]
mov r9, rcx
mov r8, rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.140056140
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 2
jne 0x14005368d
mov edx, 2
mov rcx, qword [rsp + 0x108]
call fcn.14003d3f0
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0xac2]
test eax, eax
jne 0x14005362f
lea rdx, [0x1401716d8]
mov rcx, qword [rsp + 0x100]
call fcn.14003c120
mov eax, 1
jmp 0x140054bc6
mov rax, qword [rsp + 0x28]
mov byte [rax + 0xda], 0
mov rax, qword [rsp + 0x110]
cmp qword [rax], 0
je 0x140053657
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x48], 1
jmp 0x140053688
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x48], 2
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x50], rcx
xor eax, eax
jmp 0x140054bc6
jmp 0x140054bc4
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.140026840
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
cmp eax, 0xa
je 0x1400536c6
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
cmp eax, 0xd
jne 0x140053f8f
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
cmp eax, 0xd
jne 0x1400536e0
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
cmp eax, 0xa
jne 0x1400536fa
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x60], 0x64
jl 0x140053830
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x60], 0xc7
jg 0x140053830
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x60]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0x64
je 0x140053743
cmp dword [rsp + 0xb0], 0x65
je 0x140053799
jmp 0x140053813
mov rax, qword [rsp + 0x28]
mov byte [rax + 0xda], 1
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x4c], 0
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x78], 0
jle 0x140053794
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x78], 0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x64]
or eax, 2
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x64], eax
xor edx, edx
mov rcx, qword [rsp + 0x100]
call fcn.14001b9e0
jmp 0x14005382b
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x7c], 2
jne 0x140053805
lea rdx, [0x140171700]
mov rcx, qword [rsp + 0x100]
call fcn.14003bfe0
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x7c], 3
mov rax, qword [rsp + 0x28]
mov byte [rax + 0xda], 1
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x4c], 0
mov dword [rsp + 0x20], 1
cmp dword [rsp + 0x20], 0
je 0x1400537f4
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
mov rax, qword [rsp + 0x110]
mov qword [rax], 0
jmp 0x140053811
mov rax, qword [rsp + 0x28]
mov byte [rax + 0xda], 0
jmp 0x14005382b
mov rax, qword [rsp + 0x28]
mov byte [rax + 0xda], 1
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x4c], 0
jmp 0x1400538da
mov rax, qword [rsp + 0x28]
mov byte [rax + 0xda], 0
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0xffffffffffffffff
jne 0x1400538da
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0xdf]
test eax, eax
jne 0x1400538da
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 0x2ce]
test eax, eax
jne 0x1400538da
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 0x70f]
cmp eax, 0xb
jne 0x1400538da
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x2e8]
mov eax, dword [rax + 0x84]
and eax, 0x40000
test eax, eax
jne 0x1400538da
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x11e8]
cmp eax, 5
je 0x1400538da
lea rdx, [0x140171728]
mov rcx, qword [rsp + 0x100]
call fcn.14003bfe0
mov edx, 2
mov rcx, qword [rsp + 0x108]
call fcn.14003d3f0
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0xda]
test eax, eax
jne 0x14005390b
mov rcx, qword [rsp + 0x100]
call fcn.140053280
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14005390b
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 0x2ce]
test eax, eax
je 0x14005398b
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x148], 0x191
jne 0x140053943
mov rax, qword [rsp + 0x108]
cmp dword [rax + 0x3b0], 2
je 0x140053968
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x148], 0x197
jne 0x14005398b
mov rax, qword [rsp + 0x108]
cmp dword [rax + 0x3b4], 2
jne 0x14005398b
lea rdx, [0x140171760]
mov rcx, qword [rsp + 0x100]
call fcn.14003bfe0
mov rax, qword [rsp + 0x100]
mov byte [rax + 0x1335], 1
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 0x2ce]
test eax, eax
je 0x140053a0b
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x148], 0x191
jne 0x1400539c3
mov rax, qword [rsp + 0x108]
cmp dword [rax + 0x4a8], 1
je 0x1400539e8
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x148], 0x197
jne 0x140053a0b
mov rax, qword [rsp + 0x108]
cmp dword [rax + 0x4ac], 1
jne 0x140053a0b
lea rdx, [0x140171798]
mov rcx, qword [rsp + 0x100]
call fcn.14003bfe0
mov rax, qword [rsp + 0x100]
mov byte [rax + 0x1335], 1
mov rax, qword [rsp + 0x108]
cmp dword [rax + 0x4a8], 3
jne 0x140053a42
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x148], 0x191
je 0x140053a42
mov rax, qword [rsp + 0x108]
mov dword [rax + 0x4a8], 4
mov rax, qword [rsp + 0x108]
cmp dword [rax + 0x4ac], 3
jne 0x140053a79
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x148], 0x197
je 0x140053a79
mov rax, qword [rsp + 0x108]
mov dword [rax + 0x4ac], 4
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0xaa3]
test eax, eax
je 0x140053a99
mov dword [rsp + 0xb4], 1
jmp 0x140053aa4
mov dword [rsp + 0xb4], 0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x60]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 1
jne 0x140053ac6
mov dword [rsp + 0xb8], reloc.WS2_32.dll_recv
jmp 0x140053ad1
mov dword [rsp + 0xb8], 0
mov eax, dword [rsp + 0xb4]
or eax, 2
or eax, dword [rsp + 0xb8]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.1400268a0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.140026840
mov r9, qword [rsp + 0x78]
mov r8, rax
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x100]
call fcn.14003c3f0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140053b44
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x100]
add rax, qword [rcx + 0x1368]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x1368], rax
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x100]
add rax, qword [rcx + 0x108]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x108], rax
mov rcx, qword [rsp + 0x100]
call fcn.140054e60
movzx eax, al
test eax, eax
je 0x140053bc5
mov rax, qword [rsp + 0x28]
mov r8d, dword [rax + 0x60]
lea rdx, [0x1401717d0]
mov rcx, qword [rsp + 0x100]
call fcn.14003c120
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x140054bc6
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x60], 0x64
jl 0x140053bf7
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x60], 0xc7
jg 0x140053bf7
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x108]
mov qword [rsp + 0xc0], rax
jmp 0x140053c03
mov qword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x110], rcx
mov rcx, qword [rsp + 0x100]
call fcn.140052ec0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140053c3b
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x60], 0x12c
jl 0x140053e93
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 0x2d8]
test eax, eax
jne 0x140053e47
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 0x2ce]
test eax, eax
jne 0x140053e47
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x1343]
test eax, eax
jne 0x140053e47
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x11e8]
mov byte [rsp + 0xc8], al
cmp byte [rsp + 0xc8], 1
je 0x140053cd5
cmp byte [rsp + 0xc8], 2
je 0x140053cd5
cmp byte [rsp + 0xc8], 3
je 0x140053cd5
cmp byte [rsp + 0xc8], 4
je 0x140053cd5
jmp 0x140053e47
xor edx, edx
mov rcx, qword [rsp + 0x100]
call fcn.14001b9e0
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0xdc]
test eax, eax
jne 0x140053e47
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x60], 0x1a1
jne 0x140053d7d
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x1337]
test eax, eax
je 0x140053d7d
lea rdx, [0x1401717f8]
mov rcx, qword [rsp + 0x100]
call fcn.14003bfe0
mov rax, qword [rsp + 0x100]
mov byte [rax + 0x1338], 1
xor eax, eax
test eax, eax
jne 0x140053d3c
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x11f0]
call qword [fcn.140127670]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x188], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
call fcn.140047110
jmp 0x140053e47
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0xa9f]
test eax, eax
je 0x140053dd0
lea rdx, [0x140171818]
mov rcx, qword [rsp + 0x100]
call fcn.14003bfe0
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x78], 0
jle 0x140053dce
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x78], 0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x64]
or eax, 2
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x64], eax
jmp 0x140053e47
lea rdx, [0x140171848]
mov rcx, qword [rsp + 0x100]
call fcn.14003bfe0
mov edx, 2
mov rcx, qword [rsp + 0x108]
call fcn.14003d3f0
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
call fcn.140047110
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140053e1c
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
mov rax, qword [rsp + 0x28]
mov byte [rax + 0xdc], 1
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x1337]
test eax, eax
je 0x140053e47
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x78], 3
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x1343]
test eax, eax
je 0x140053e93
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x310], 0xffffffffffffffff
je 0x140053e93
lea rdx, [0x140171878]
mov rcx, qword [rsp + 0x100]
call fcn.14003bfe0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x64]
or eax, 2
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0xda]
test eax, eax
jne 0x140053f74
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x1cc]
test eax, eax
je 0x140053ec7
mov rax, qword [rsp + 0x118]
mov byte [rax], 1
jmp 0x140053f0c
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x2e8]
mov eax, dword [rax + 0x84]
and eax, 0x40000
test eax, eax
je 0x140053f0c
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x9e8], 2
jne 0x140053f0c
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0xffffffffffffffff
jg 0x140053f0c
mov rax, qword [rsp + 0x118]
mov byte [rax], 1
mov rax, qword [rsp + 0x28]
cmp qword [rax + 8], 0
jne 0x140053f31
xor eax, eax
cmp eax, 1
je 0x140053f31
xor eax, eax
cmp eax, 1
je 0x140053f31
mov rax, qword [rsp + 0x118]
mov byte [rax], 1
mov rax, qword [rsp + 0x118]
movzx eax, byte [rax]
test eax, eax
je 0x140053f53
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x64]
and eax, 0xfffffffe
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x64], eax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x100]
call fcn.14003c2b0
jmp 0x140054bc4
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.1400266a0
jmp 0x140054bb0
mov dword [rsp + 0x68], 2
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0xcc], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x4c]
inc eax
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x4c], eax
cmp dword [rsp + 0xcc], 0
jne 0x140054a32
mov byte [rsp + 0x80], 0
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x2e8]
mov eax, dword [rax + 0x84]
and eax, 3
test eax, eax
je 0x1400546c7
mov dword [rsp + 0x84], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
test eax, eax
je 0x14005404a
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 0x20
je 0x140054035
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 9
jne 0x14005404a
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
jmp 0x140054006
mov r8d, 5
lea rdx, [0x1401718a0]
mov rcx, qword [rsp + 0x88]
call fcn.1400f5720
test eax, eax
jne 0x140054519
mov rax, qword [rsp + 0x88]
add rax, 5
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
mov byte [rsp + 0xd0], al
cmp byte [rsp + 0xd0], 0x31
je 0x1400540bd
cmp byte [rsp + 0xd0], 0x32
je 0x140054329
cmp byte [rsp + 0xd0], 0x33
je 0x140054329
jmp 0x1400544fb
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
jne 0x1400542fa
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
je 0x140054126
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x31
jne 0x1400542fa
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x20
je 0x14005415e
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 9
jne 0x1400542fa
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
sub eax, 0x26
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x88]
add rax, 3
mov qword [rsp + 0x88], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1400542fa
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1400542fa
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1400542fa
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1400542fa
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1400542fa
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1400542fa
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
sub eax, 0x30
imul eax, eax, 0x64
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x88]
movsx ecx, byte [rdx + rcx]
sub ecx, 0x30
imul ecx, ecx, 0xa
add eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x88]
movsx ecx, byte [rdx + rcx]
lea eax, [rax + rcx - 0x30]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x60], eax
mov rax, qword [rsp + 0x88]
add rax, 3
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 0x20
je 0x1400542f2
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 9
je 0x1400542f2
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 0xa
jl 0x1400542fa
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 0xd
jg 0x1400542fa
mov byte [rsp + 0x80], 1
movzx eax, byte [rsp + 0x80]
test eax, eax
jne 0x140054324
lea rdx, [0x1401718a8]
mov rcx, qword [rsp + 0x100]
call fcn.14003c120
mov eax, 1
jmp 0x140054bc6
jmp 0x140054519
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x20
je 0x140054362
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 9
je 0x140054362
jmp 0x140054519
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
sub eax, 0x30
imul eax, eax, 0xa
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x88]
add rax, 2
mov qword [rsp + 0x88], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1400544f9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1400544f9
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1400544f9
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1400544f9
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1400544f9
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1400544f9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
sub eax, 0x30
imul eax, eax, 0x64
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x88]
movsx ecx, byte [rdx + rcx]
sub ecx, 0x30
imul ecx, ecx, 0xa
add eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x88]
movsx ecx, byte [rdx + rcx]
lea eax, [rax + rcx - 0x30]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x60], eax
mov rax, qword [rsp + 0x88]
add rax, 3
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 0x20
je 0x1400544f1
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 9
je 0x1400544f1
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 0xa
jl 0x1400544ef
mov rax, qword [rsp + 0x88]
movsx eax, byte [rax]
cmp eax, 0xd
jle 0x1400544f1
jmp 0x140054519
mov byte [rsp + 0x80], 1
jmp 0x140054519
lea rdx, [0x1401718d8]
mov rcx, qword [rsp + 0x100]
call fcn.14003c120
mov eax, 1
jmp 0x140054bc6
movzx eax, byte [rsp + 0x80]
test eax, eax
je 0x140054641
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x60], 0x64
jge 0x140054552
lea rdx, [0x140171900]
mov rcx, qword [rsp + 0x100]
call fcn.14003c120
mov eax, 1
jmp 0x140054bc6
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0xa
je 0x140054576
cmp dword [rsp + 0xd4], 0xb
je 0x140054576
jmp 0x14005458e
mov rax, qword [rsp + 0x108]
movzx ecx, byte [rsp + 0x84]
mov byte [rax + 0x70f], cl
jmp 0x1400545e0
mov eax, dword [rsp + 0x84]
cdq
mov ecx, 0xa
idiv ecx
mov eax, edx
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0x84]
cdq
mov ecx, 0xa
idiv ecx
mov ecx, dword [rsp + 0xd8]
mov r9d, ecx
mov r8d, eax
lea rdx, [0x140171930]
mov rcx, qword [rsp + 0x100]
call fcn.14003c120
mov eax, 1
jmp 0x140054bc6
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x7c], 3
jne 0x140054613
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 0x70f]
cmp eax, 0x14
je 0x140054613
lea rdx, [0x140171960]
mov rcx, qword [rsp + 0x100]
call fcn.14003bfe0
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 0x70f]
cmp eax, 0x14
jge 0x14005463c
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x6d0]
mov dword [rax], 0xffffffff
jmp 0x1400546c2
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.1400268a0
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0xc88
call fcn.140026840
mov rcx, qword [rsp + 0xe0]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.140055ff0
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 1
jne 0x1400546c2
mov byte [rsp + 0x80], 1
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x60], reloc.WLDAP32.dll_Ordinal_200
mov rax, qword [rsp + 0x108]
mov byte [rax + 0x70f], 0xa
jmp 0x1400549df
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x2e8]
mov eax, dword [rax + 0x84]
and eax, 0x40000
test eax, eax
je 0x1400549df
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
test eax, eax
je 0x14005473a
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
cmp eax, 0x20
je 0x140054725
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
cmp eax, 9
jne 0x14005473a
mov rax, qword [rsp + 0x98]
inc rax
mov qword [rsp + 0x98], rax
jmp 0x1400546f6
mov r8d, 5
lea rdx, [0x140171984]
mov rcx, qword [rsp + 0x98]
call fcn.1400f5720
test eax, eax
jne 0x1400549df
mov rax, qword [rsp + 0x98]
add rax, 5
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
cmp eax, 0x30
jl 0x1400549c9
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
cmp eax, 0x39
jg 0x1400549c9
mov rax, qword [rsp + 0x98]
inc rax
mov qword [rsp + 0x98], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
jne 0x1400549c9
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1400549c9
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1400549c9
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x20
je 0x14005483d
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 9
jne 0x1400549c9
mov rax, qword [rsp + 0x98]
add rax, 3
mov qword [rsp + 0x98], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1400549c9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1400549c9
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1400549c9
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1400549c9
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jl 0x1400549c9
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
cmp eax, 0x39
jg 0x1400549c9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
sub eax, 0x30
imul eax, eax, 0x64
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x98]
movsx ecx, byte [rdx + rcx]
sub ecx, 0x30
imul ecx, ecx, 0xa
add eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x98]
movsx ecx, byte [rdx + rcx]
lea eax, [rax + rcx - 0x30]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x60], eax
mov rax, qword [rsp + 0x98]
add rax, 3
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
cmp eax, 0x20
je 0x1400549b2
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
cmp eax, 9
je 0x1400549b2
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
cmp eax, 0xa
jl 0x1400549c9
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
cmp eax, 0xd
jg 0x1400549c9
mov byte [rsp + 0x80], 1
mov rax, qword [rsp + 0x108]
mov byte [rax + 0x70f], 0xb
movzx eax, byte [rsp + 0x80]
test eax, eax
jne 0x1400549df
mov eax, 8
jmp 0x140054bc6
movzx eax, byte [rsp + 0x80]
test eax, eax
je 0x140054a21
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.14004eab0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140054a14
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
mov eax, dword [rsp + 0x68]
or eax, 4
mov dword [rsp + 0x68], eax
jmp 0x140054a32
mov rax, qword [rsp + 0x28]
mov byte [rax + 0xda], 0
jmp 0x140054bc4
mov rcx, qword [rsp + 0x100]
call fcn.1400561b0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140054a53
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.14004ece0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140054a81
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0xaa3]
test eax, eax
je 0x140054a9f
mov eax, dword [rsp + 0x68]
or eax, 1
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x60]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 1
jne 0x140054abf
mov eax, dword [rsp + 0x68]
or eax, 0x10
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.1400268a0
mov r9, rax
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x100]
call fcn.14003c2b0
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.1400268a0
mov r9, rax
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x100]
call fcn.14003c3f0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140054b32
mov eax, dword [rsp + 0x20]
jmp 0x140054bc6
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.1400268a0
mov rcx, qword [rsp + 0x100]
add rax, qword [rcx + 0x1368]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x1368], rax
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.1400268a0
mov rcx, qword [rsp + 0x100]
add rax, qword [rcx + 0x108]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x108], rax
mov rax, qword [rsp + 0x100]
add rax, 0xc88
mov rcx, rax
call fcn.1400266a0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x50]
movsx eax, byte [rax]
test eax, eax
jne 0x14005339d
xor eax, eax
add rsp, 0xf0
pop rdi
ret