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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, dword [eax]
mov eax, dword [ebx + 0xd4]
mov esi, eax
push edi
push ecx
lea edi, [ebx + 0x88]
mov dword [ebp - 0x10], ecx
push 0xa
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
call fcn.004bccb0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x43af1e
mov eax, dword [ebp - 8]
sub esi, ecx
mov edx, dword [ebp + 0x10]
dec eax
add eax, esi
lea esi, [ebx + 0x8b0]
mov dword [edx], eax
lea eax, [ecx + 1]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x4c], eax
sub eax, ecx
push eax
push ecx
push esi
call fcn.00428780
add esp, 0xc
test eax, eax
jne 0x43a7bf
cmp dword [edi + 0x48], eax
jne 0x43a7c6
push esi
call fcn.004287f0
add esp, 4
push eax
push esi
call fcn.00428800
mov esi, dword [ebp + 0xc]
add esp, 4
push eax
push esi
push ebx
call fcn.0043b970
add esp, 0x10
cmp eax, 2
jne 0x43a7c9
push eax
push esi
call fcn.004321b0
add esp, 8
cmp byte [ebx + 0x6ec], 0
je 0x43af8f
mov eax, dword [ebp + 0x10]
mov byte [edi + 0xba], 0
cmp dword [eax], 0
je 0x43afa9
mov dword [edi + 0x44], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
lea eax, [ebx + 0x8b0]
push eax
call fcn.00428800
mov edx, eax
add esp, 4
mov dword [ebp - 8], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x43ab98
cmp cl, 0xd
je 0x43ab98
mov ecx, dword [edi + 0x48]
mov dword [ebp + 8], 4
lea eax, [ecx + 1]
mov dword [edi + 0x48], eax
test ecx, ecx
jne 0x43ab01
mov eax, dword [esi + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 3
je 0x43aa11
mov al, byte [edx]
mov esi, edx
test al, al
je 0x43a832
cmp al, 0x20
je 0x43a82a
cmp al, 9
jne 0x43a832
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x43a822
push 5
push str.HTTP_
push esi
call fcn.004cdb90
add esp, 0xc
test eax, eax
jne 0x43a8df
movsx ecx, byte [esi + 5]
mov eax, ecx
sub eax, 0x31
je 0x43a921
sub eax, 1
je 0x43a867
sub eax, 1
jne 0x43afc4
mov al, byte [esi + 6]
cmp al, 0x20
je 0x43a872
cmp al, 9
jne 0x43a8df
lea edx, [ecx - 0x30]
mov cl, byte [esi + 7]
mov al, cl
lea edx, [edx + edx*4]
add edx, edx
sub al, 0x30
mov dword [ebp - 0xc], edx
cmp al, 9
ja 0x43a8df
mov al, byte [esi + 8]
mov byte [ebp + 0xb], al
sub al, 0x30
cmp al, 9
ja 0x43a8df
mov al, byte [esi + 9]
mov byte [ebp - 1], al
sub al, 0x30
cmp al, 9
ja 0x43a8df
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, byte [ebp + 0xb]
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, byte [ebp - 1]
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [edi + 0x58], ecx
mov al, byte [esi + 0xa]
cmp al, 0x20
je 0x43a9b8
cmp al, 9
je 0x43a9b8
cmp al, 0xa
jl 0x43a8df
cmp al, 0xd
jle 0x43a9b8
lea esi, [ebx + 0x8b0]
push esi
call fcn.004287f0
add esp, 4
push eax
push esi
call fcn.00428800
add esp, 4
push eax
push ebx
call fcn.0043b8b0
add esp, 0xc
cmp eax, 1
jne 0x43b055
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x58], 0xc8
mov byte [esi + 0x335], 0xa
jmp 0x43aae8
cmp byte [esi + 6], 0x2e
jne 0x43b02f
mov al, byte [esi + 7]
cmp al, 0x30
je 0x43a93a
cmp al, 0x31
jne 0x43b02f
mov cl, byte [esi + 8]
cmp cl, 0x20
je 0x43a94b
cmp cl, 9
jne 0x43b02f
mov cl, byte [esi + 9]
movsx edx, al
mov al, cl
sub edx, 0x26
sub al, 0x30
mov dword [ebp - 0xc], edx
cmp al, 9
ja 0x43b02f
mov al, byte [esi + 0xa]
mov byte [ebp + 0xb], al
sub al, 0x30
cmp al, 9
ja 0x43b02f
mov al, byte [esi + 0xb]
mov byte [ebp - 1], al
sub al, 0x30
cmp al, 9
ja 0x43b02f
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, byte [ebp + 0xb]
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, byte [ebp - 1]
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [edi + 0x58], ecx
mov al, byte [esi + 0xc]
cmp al, 0x20
je 0x43a9b8
cmp al, 9
je 0x43a9b8
sub al, 0xa
cmp al, 3
ja 0x43b02f
cmp ecx, 0x64
jl 0x43b015
mov eax, edx
sub eax, 0xa
je 0x43a9d1
sub eax, 1
jne 0x43afde
mov esi, dword [ebp + 0xc]
mov byte [esi + 0x335], dl
cmp dword [edi + 0x74], 3
jne 0x43a9f3
cmp dl, 0x14
je 0x43a9f3
push str.Lying_server__not_serving_HTTP_2
push ebx
call fcn.004312b0
add esp, 8
cmp byte [esi + 0x335], 0x14
jae 0x43aae8
mov eax, dword [esi + 0x308]
mov dword [eax], 0xffffffff
jmp 0x43aae8
test eax, 0x40000
je 0x43b055
mov al, byte [edx]
mov esi, edx
test al, al
je 0x43aa34
cmp al, 0x20
je 0x43aa2c
cmp al, 9
jne 0x43aa34
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x43aa24
push 5
push str.RTSP_
push esi
call fcn.004cdb90
add esp, 0xc
test eax, eax
jne 0x43b055
mov al, byte [esi + 5]
sub al, 0x30
cmp al, 9
ja 0x43b049
cmp byte [esi + 6], 0x2e
jne 0x43b049
mov al, byte [esi + 7]
sub al, 0x30
cmp al, 9
ja 0x43b049
mov al, byte [esi + 8]
cmp al, 0x20
je 0x43aa7f
cmp al, 9
jne 0x43b049
mov cl, byte [esi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x43b049
mov dh, byte [esi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x43b049
mov dl, byte [esi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x43b049
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [edi + 0x58], eax
mov al, byte [esi + 0xc]
cmp al, 0x20
je 0x43aade
cmp al, 9
je 0x43aade
sub al, 0xa
cmp al, 3
ja 0x43b049
mov esi, dword [ebp + 0xc]
mov byte [esi + 0x335], 0xb
push esi
push ebx
call fcn.0043b510
add esp, 8
test eax, eax
jne 0x43a7bf
mov dword [ebp + 8], 0xc
push ebx
call fcn.0043c230
add esp, 4
test eax, eax
jne 0x43a7bf
push dword [ebp - 8]
push esi
push ebx
call fcn.00439740
add esp, 0xc
test eax, eax
jne 0x43a7bf
mov eax, dword [edi + 0x58]
sub eax, 0x64
cmp eax, 0x64
jae 0x43ab36
or dword [ebp + 8], 0x20
lea eax, [ebx + 0x8b0]
push eax
call fcn.004287f0
mov esi, dword [ebp - 8]
push eax
push esi
push 1
push ebx
call fcn.00431150
lea eax, [ebx + 0x8b0]
push eax
call fcn.004287f0
push eax
push esi
push dword [ebp + 8]
push ebx
call fcn.004315c0
add esp, 0x28
test eax, eax
jne 0x43a7bf
push eax
lea eax, [ebx + 0x8b0]
push eax
call fcn.004287f0
add esp, 4
push eax
push ebx
call fcn.00438220
add esp, 0xc
test eax, eax
jne 0x43a7bf
jmp 0x43aedd
mov ecx, dword [edi + 0x58]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x43ac06
sub ecx, 0x64
je 0x43abd6
sub ecx, 1
je 0x43abc0
mov byte [edi + 0xba], 1
mov dword [edi + 0x48], 0
jmp 0x43ac71
cmp dword [edi + 0x74], 2
je 0x43b065
mov byte [edi + 0xba], 0
jmp 0x43ac71
cmp dword [edi + 0x70], 0
mov byte [edi + 0xba], 1
mov dword [edi + 0x48], 0
jle 0x43ac71
or dword [edi + 0x5c], 2
push 0
push ebx
mov dword [edi + 0x70], 0
call fcn.00422a20
add esp, 8
jmp 0x43ac71
cmp dword [edi + 0x74], 2
jne 0x43ac17
push dword [ebx + 0x7c]
call fcn.00422b00
add esp, 4
mov eax, dword [edi]
and eax, dword [edi + 4]
mov byte [edi + 0xba], 0
cmp eax, 0xffffffff
jne 0x43ac71
cmp byte [edi + 0xbf], 0
jne 0x43ac71
cmp byte [esi + 0x1ce], 0
jne 0x43ac71
cmp byte [esi + 0x335], 0xb
jne 0x43ac71
mov eax, dword [esi + 0x1e8]
test dword [eax + 0x44], 0x40000
jne 0x43ac71
cmp byte [ebx + 0xd86], 5
je 0x43ac71
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push ebx
call fcn.004312b0
push 2
push esi
call fcn.004321b0
add esp, 0x10
cmp byte [edi + 0xba], 0
jne 0x43ac8b
push ebx
call fcn.0043b440
add esp, 4
test eax, eax
jne 0x43a7bf
cmp byte [esi + 0x1ce], 0
je 0x43acd1
mov eax, dword [ebx + 0xe0]
cmp eax, 0x191
jne 0x43acac
cmp dword [esi + 0x220], 2
je 0x43acbc
jmp 0x43acd1
cmp eax, 0x197
jne 0x43acd1
cmp dword [esi + 0x224], 2
jne 0x43acd1
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push ebx
call fcn.004312b0
add esp, 8
mov byte [ebx + 0xd8d], 1
mov eax, dword [edi + 0x58]
sub eax, 0x64
cmp eax, 0x64
lea eax, [ebx + 0x8b0]
push eax
sbb esi, esi
and esi, 0x20
add esi, 4
call fcn.004287f0
add esp, 4
mov dword [ebp - 0xc], eax
push eax
lea eax, [ebx + 0x8b0]
push eax
call fcn.00428800
add esp, 4
push eax
push esi
push ebx
call fcn.004315c0
add esp, 0x10
test eax, eax
jne 0x43a7bf
push eax
push dword [ebp - 0xc]
push ebx
call fcn.00438220
add esp, 0xc
test eax, eax
jne 0x43a7bf
mov esi, dword [edi + 0x58]
push ebx
call fcn.0043bde0
add esp, 4
test al, al
jne 0x43b0fc
lea eax, [esi - 0x64]
cmp eax, 0x63
ja 0x43ad50
mov eax, dword [ebx + 0xc0]
jmp 0x43ad52
xor eax, eax
push ebx
mov dword [ebx + 0xc8], eax
call fcn.00438730
add esp, 4
test eax, eax
jne 0x43a7bf
cmp dword [edi + 0x58], 0x12c
mov esi, dword [ebp + 0xc]
jl 0x43aed0
cmp byte [esi + 0x1d8], al
jne case.default.0x43adae
cmp byte [esi + 0x1ce], al
jne case.default.0x43adae
cmp byte [ebx + 0xd9b], al
jne 0x43aeb5
movzx eax, byte [ebx + 0xd86]
dec eax
cmp eax, 3
ja case.default.0x43adae
jmp dword [eax*4 + 0x43b118]
push 0
push ebx
call fcn.00422a20
add esp, 8
cmp byte [edi + 0xbc], 0
jne case.default.0x43adae
cmp dword [edi + 0x58], 0x1a1
jne 0x43ae47
cmp byte [ebx + 0xd8f], 0
je 0x43ae47
mov eax, dword [edi + 0x18]
or eax, dword [edi + 0x1c]
jne 0x43adfd
cmp dword [edi + 0x70], 1
jne 0x43adfd
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push ebx
call fcn.004312b0
add esp, 8
jmp 0x43ae22
push str.Got_HTTP_failure_417_while_sending_data
push ebx
call fcn.004312b0
push 2
push esi
call fcn.004321b0
push esi
push ebx
call fcn.0043bc30
add esp, 0x18
test eax, eax
jne 0x43a7bf
push dword [ebx + 0xcdc]
mov byte [ebx + 0xd90], 1
call dword [0x52000c]
push edi
push ebx
mov dword [ebx + 0x118], eax
call fcn.0043d230
add esp, 0xc
jmp case.default.0x43adae
cmp byte [ebx + 0x6cb], 0
je 0x43ae71
push str.HTTP_error_before_end_of_send__keep_sending
push ebx
call fcn.004312b0
add esp, 8
cmp dword [edi + 0x70], 0
jle case.default.0x43adae
or dword [edi + 0x5c], 2
mov dword [edi + 0x70], 0
jmp case.default.0x43adae
push str.HTTP_error_before_end_of_send__stop_sending
push ebx
call fcn.004312b0
push 2
push esi
call fcn.004321b0
push edi
push ebx
call fcn.0043d230
add esp, 0x18
test eax, eax
jne 0x43a7bf
mov byte [edi + 0xbc], 1
cmp byte [ebx + 0xd8f], al
je case.default.0x43adae
mov dword [edi + 0x70], 3
cmp byte [ebx + 0xd9b], 0
je 0x43aed0
cmp dword [esi + 0x204], 0xffffffff
je 0x43aed0
push str.Keep_sending_data_to_get_tossed_away
push ebx
call fcn.004312b0
add esp, 8
or dword [edi + 0x5c], 2
cmp byte [edi + 0xba], 0
je 0x43b094
lea eax, [ebx + 0x8b0]
push eax
call fcn.00428810
mov esi, dword [edi + 0x4c]
add esp, 4
cmp byte [esi], 0
je 0x43a7bd
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov dword [ebp + 8], ecx
mov eax, dword [eax]
push eax
push 0xa
push ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
call fcn.004bccb0
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x43a734
push dword [ebp - 0xc]
lea esi, [ebx + 0x8b0]
push dword [ebp + 8]
push esi
call fcn.00428780
add esp, 0xc
test eax, eax
jne 0x43a7bf
cmp dword [edi + 0x48], eax
jne 0x43a7bd
push esi
call fcn.004287f0
add esp, 4
push eax
push esi
call fcn.00428800
mov esi, dword [ebp + 0xc]
add esp, 4
push eax
push esi
push ebx
call fcn.0043b970
add esp, 0x10
cmp eax, 2
jne 0x43a7bd
push eax
push esi
mov byte [edi + 0xba], 0
mov dword [edi + 0x44], eax
call fcn.004321b0
add esp, 8
cmp byte [ebx + 0x6ec], 0
jne 0x43a7bd
push str.Received_HTTP_0.9_when_not_allowed
push ebx
call fcn.004311f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x44], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x4c], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response
push ebx
call fcn.004311f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x66666667
imul edx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0xc]
lea eax, [ecx + ecx*4]
add eax, eax
sub edx, eax
push edx
push ecx
push str.Unsupported_HTTP_version___u._d__in_response
push ebx
call fcn.004311f0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_response_code_in_HTTP_response
push ebx
call fcn.004311f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_1_subversion_in_response
push ebx
call fcn.004311f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0xba], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101__Switching_to_HTTP_2
push ebx
call fcn.004312b0
add esp, 8
mov dword [edi + 0x74], 3
mov byte [edi + 0xba], 1
mov eax, 1
mov dword [edi + 0x48], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x14c], 0
mov ecx, dword [ebp + 0x14]
jne 0x43b0c5
mov eax, dword [esi + 0x1e8]
test dword [eax + 0x44], 0x40000
je 0x43b0c8
cmp dword [ebx + 0x660], 2
jne 0x43b0c8
cmp dword [edi + 4], 0xffffffff
jg 0x43b0c8
jl 0x43b0c5
cmp dword [edi], 0xffffffff
ja 0x43b0c8
mov byte [ecx], 1
cmp dword [edi + 8], 0
jne 0x43b0d9
cmp dword [edi + 0xc], 0
jne 0x43b0d9
mov byte [ecx], 1
jmp 0x43b0de
cmp byte [ecx], 0
je 0x43b0e2
and dword [edi + 0x5c], 0xfffffffe
push dword [ebp - 0xc]
push dword [ebp + 8]
push 1
push ebx
call fcn.00431150
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.004311f0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret