Function at 0x455830
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 edx, dword [eax]
lea esi, [ebx + 0x88]
mov eax, dword [esi + 0x4c]
push edi
push edx
push 0xa
push eax
mov dword [ebp - 0x10], edx
mov edi, edx
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], eax
mov dword [ebp - 0xc], edx
call fcn.004d7e10
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4561cf
nop
mov eax, dword [esi + 0x4c]
sub edi, ecx
mov edx, dword [ebp + 0x10]
dec eax
add eax, edi
lea edi, [ebx + 0x8b0]
mov dword [edx], eax
lea eax, [ecx + 1]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x4c], eax
sub eax, ecx
push eax
push ecx
push edi
call fcn.00443990
add esp, 0xc
test eax, eax
jne 0x4558fb
cmp dword [esi + 0x48], eax
jne 0x455902
push edi
call fcn.00443a00
add esp, 4
push eax
push edi
call fcn.00443a10
mov edi, dword [ebp + 0xc]
add esp, 4
push eax
push edi
push ebx
call fcn.00456aa0
add esp, 0x10
cmp eax, 2
jne 0x455905
push eax
push edi
call fcn.0044d2f0
add esp, 8
cmp byte [ebx + 0x6ec], 0
je 0x45624c
mov eax, dword [ebp + 0x10]
mov byte [esi + 0xba], 0
cmp dword [eax], 0
je 0x456061
mov dword [esi + 0x44], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
lea eax, [ebx + 0x8b0]
push eax
call fcn.00443a10
mov edx, eax
add esp, 4
mov dword [ebp - 8], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x455cda
cmp cl, 0xd
je 0x455cda
mov ecx, dword [esi + 0x48]
mov dword [ebp + 8], 4
lea eax, [ecx + 1]
mov dword [esi + 0x48], eax
test ecx, ecx
jne 0x455c3d
mov eax, dword [edi + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 3
je 0x455b4b
mov al, byte [edx]
mov edi, edx
test al, al
je 0x455970
nop
cmp al, 0x20
je 0x455968
cmp al, 9
jne 0x455970
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x455960
push 5
push str.HTTP_
push edi
call fcn.004e95a0
add esp, 0xc
test eax, eax
jne 0x455a1a
mov cl, byte [edi + 5]
mov al, cl
cmp al, 0x31
je 0x455a5c
sub al, 0x32
cmp al, 1
ja 0x45607c
mov al, byte [edi + 6]
cmp al, 0x20
je 0x4559aa
cmp al, 9
jne 0x455a1a
movsx eax, cl
mov cl, byte [edi + 7]
sub eax, 0x30
lea edx, [eax + eax*4]
mov al, cl
add edx, edx
sub al, 0x30
mov dword [ebp - 0xc], edx
cmp al, 9
ja 0x455a1a
mov al, byte [edi + 8]
mov byte [ebp + 0xb], al
sub al, 0x30
cmp al, 9
ja 0x455a1a
mov al, byte [edi + 9]
mov byte [ebp - 1], al
sub al, 0x30
cmp al, 9
ja 0x455a1a
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 [esi + 0x58], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x455af3
cmp al, 9
je 0x455af3
cmp al, 0xa
jl 0x455a1a
cmp al, 0xd
jle 0x455af3
lea edi, [ebx + 0x8b0]
push edi
call fcn.00443a00
add esp, 4
push eax
push edi
call fcn.00443a10
add esp, 4
push eax
push ebx
call fcn.004569e0
add esp, 0xc
cmp eax, 1
jne 0x45610d
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x58], 0xc8
mov byte [edi + 0x335], 0xa
jmp 0x455c24
cmp byte [edi + 6], 0x2e
jne 0x4560e7
mov al, byte [edi + 7]
cmp al, 0x30
je 0x455a75
cmp al, 0x31
jne 0x4560e7
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x455a86
cmp cl, 9
jne 0x4560e7
mov cl, byte [edi + 9]
movsx edx, al
mov al, cl
sub edx, 0x26
sub al, 0x30
mov dword [ebp - 0xc], edx
cmp al, 9
ja 0x4560e7
mov al, byte [edi + 0xa]
mov byte [ebp + 0xb], al
sub al, 0x30
cmp al, 9
ja 0x4560e7
mov al, byte [edi + 0xb]
mov byte [ebp - 1], al
sub al, 0x30
cmp al, 9
ja 0x4560e7
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 [esi + 0x58], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x455af3
cmp al, 9
je 0x455af3
sub al, 0xa
cmp al, 3
ja 0x4560e7
cmp ecx, 0x64
jl 0x4560cd
lea eax, [edx - 0xa]
cmp eax, 1
ja 0x456096
mov edi, dword [ebp + 0xc]
mov al, dl
mov byte [edi + 0x335], dl
cmp dword [esi + 0x74], 3
jne 0x455b32
cmp dl, 0x14
je 0x455b32
push str.Lying_server__not_serving_HTTP_2
push ebx
call fcn.0044c3f0
mov al, byte [edi + 0x335]
add esp, 8
cmp al, 0x14
jae 0x455c24
mov eax, dword [edi + 0x308]
mov dword [eax], 0xffffffff
jmp 0x455c24
test eax, 0x40000
je 0x45610d
mov al, byte [edx]
mov edi, edx
test al, al
je 0x455b70
nop
cmp al, 0x20
je 0x455b68
cmp al, 9
jne 0x455b70
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x455b60
push 5
push str.RTSP_
push edi
call fcn.004e95a0
add esp, 0xc
test eax, eax
jne 0x45610d
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x456101
cmp byte [edi + 6], 0x2e
jne 0x456101
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x456101
mov al, byte [edi + 8]
cmp al, 0x20
je 0x455bbb
cmp al, 9
jne 0x456101
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x456101
mov dl, byte [edi + 0xa]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x456101
mov dh, byte [edi + 0xb]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x456101
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, dl
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [esi + 0x58], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x455c1a
cmp al, 9
je 0x455c1a
sub al, 0xa
cmp al, 3
ja 0x456101
mov edi, dword [ebp + 0xc]
mov byte [edi + 0x335], 0xb
push edi
push ebx
call fcn.00456640
add esp, 8
test eax, eax
jne 0x4558fb
mov dword [ebp + 8], 0xc
push ebx
call fcn.00457350
add esp, 4
test eax, eax
jne 0x4558fb
push dword [ebp - 8]
push edi
push ebx
call fcn.004548e0
add esp, 0xc
test eax, eax
jne 0x4558fb
mov edi, dword [esi + 0x58]
lea eax, [ebx + 0x8b0]
push eax
call fcn.00443a00
push eax
push dword [ebp - 8]
push 1
push ebx
call fcn.0044c2a0
lea eax, [ebx + 0x8b0]
push eax
call fcn.00443a00
mov ecx, dword [ebp + 8]
push eax
push dword [ebp - 8]
lea eax, [edi - 0x64]
or ecx, 0x20
cmp eax, 0x64
cmovae ecx, dword [ebp + 8]
push ecx
push ebx
call fcn.0044c700
add esp, 0x28
test eax, eax
jne 0x4558fb
push eax
lea eax, [ebx + 0x8b0]
push eax
call fcn.00443a00
add esp, 4
push eax
push ebx
call fcn.004533a0
add esp, 0xc
test eax, eax
jne 0x4558fb
mov edi, dword [ebp + 0xc]
jmp 0x456018
mov ecx, dword [esi + 0x58]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x455d48
sub ecx, 0x64
je 0x455d18
sub ecx, 1
je 0x455d02
mov byte [esi + 0xba], 1
mov dword [esi + 0x48], 0
jmp 0x455db3
cmp dword [esi + 0x74], 2
je 0x45611d
mov byte [esi + 0xba], 0
jmp 0x455db3
cmp dword [esi + 0x70], 0
mov byte [esi + 0xba], 1
mov dword [esi + 0x48], 0
jle 0x455db3
or dword [esi + 0x5c], 2
push 0
push ebx
mov dword [esi + 0x70], 0
call fcn.0043dd50
add esp, 8
jmp 0x455db3
cmp dword [esi + 0x74], 2
jne 0x455d59
push dword [ebx + 0x7c]
call fcn.0043de30
add esp, 4
mov eax, dword [esi]
xor cl, cl
and eax, dword [esi + 4]
mov byte [esi + 0xba], 0
cmp eax, 0xffffffff
jne 0x455db9
cmp byte [esi + 0xbf], cl
jne 0x455db9
cmp byte [edi + 0x1ce], cl
jne 0x455db9
cmp byte [edi + 0x335], 0xb
jne 0x455db9
mov eax, dword [edi + 0x1e8]
test dword [eax + 0x44], 0x40000
jne 0x455db9
cmp byte [ebx + 0xd86], 5
je 0x455db9
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push ebx
call fcn.0044c3f0
push 2
push edi
call fcn.0044d2f0
add esp, 0x10
mov cl, byte [esi + 0xba]
test cl, cl
jne 0x455dce
push ebx
call fcn.00456570
add esp, 4
test eax, eax
jne 0x4558fb
cmp byte [edi + 0x1ce], 0
je 0x455e14
mov eax, dword [ebx + 0xe0]
cmp eax, 0x191
jne 0x455def
cmp dword [edi + 0x220], 2
je 0x455dff
jmp 0x455e14
cmp eax, 0x197
jne 0x455e14
cmp dword [edi + 0x224], 2
jne 0x455e14
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push ebx
call fcn.0044c3f0
add esp, 8
mov byte [ebx + 0xd8d], 1
mov eax, dword [esi + 0x58]
sub eax, 0x64
cmp eax, 0x64
lea eax, [ebx + 0x8b0]
push eax
sbb edi, edi
and edi, 0x20
add edi, 4
call fcn.00443a00
add esp, 4
mov dword [ebp - 0xc], eax
push eax
lea eax, [ebx + 0x8b0]
push eax
call fcn.00443a10
add esp, 4
push eax
push edi
push ebx
call fcn.0044c700
add esp, 0x10
test eax, eax
jne 0x4558fb
push eax
push dword [ebp - 0xc]
push ebx
call fcn.004533a0
add esp, 0xc
test eax, eax
jne 0x4558fb
mov edi, dword [esi + 0x58]
push ebx
call fcn.00456f00
add esp, 4
test al, al
jne 0x4561b4
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x455e93
mov eax, dword [ebx + 0xc0]
jmp 0x455e95
xor eax, eax
push ebx
mov dword [ebx + 0xc8], eax
call fcn.004538c0
add esp, 4
test eax, eax
jne 0x4558fb
cmp dword [esi + 0x58], 0x12c
mov edi, dword [ebp + 0xc]
jl 0x45600b
cmp byte [edi + 0x1d8], al
jne 0x455fe7
cmp byte [edi + 0x1ce], al
jne 0x455fe7
cmp byte [ebx + 0xd9b], al
jne 0x455ff0
mov al, byte [ebx + 0xd86]
dec al
cmp al, 3
ja 0x455fe7
push 0
push ebx
call fcn.0043dd50
add esp, 8
cmp byte [esi + 0xbc], 0
jne 0x455fe7
cmp dword [esi + 0x58], 0x1a1
jne 0x455f82
cmp byte [ebx + 0xd8f], 0
je 0x455f82
mov eax, dword [esi + 0x18]
or eax, dword [esi + 0x1c]
jne 0x455f38
cmp dword [esi + 0x70], 1
jne 0x455f38
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push ebx
call fcn.0044c3f0
add esp, 8
jmp 0x455f5d
push str.Got_HTTP_failure_417_while_sending_data
push ebx
call fcn.0044c3f0
push 2
push edi
call fcn.0044d2f0
push edi
push ebx
call fcn.00456d60
add esp, 0x18
test eax, eax
jne 0x4558fb
push dword [ebx + 0xcdc]
mov byte [ebx + 0xd90], 1
call dword [0x54100c]
push esi
push ebx
mov dword [ebx + 0x118], eax
call fcn.00458320
add esp, 0xc
jmp 0x455fe7
cmp byte [ebx + 0x6cb], 0
je 0x455fac
push str.HTTP_error_before_end_of_send__keep_sending
push ebx
call fcn.0044c3f0
add esp, 8
cmp dword [esi + 0x70], 0
jle 0x455fe7
or dword [esi + 0x5c], 2
mov dword [esi + 0x70], 0
jmp 0x455fe7
push str.HTTP_error_before_end_of_send__stop_sending
push ebx
call fcn.0044c3f0
push 2
push edi
call fcn.0044d2f0
push esi
push ebx
call fcn.00458320
add esp, 0x18
test eax, eax
jne 0x4558fb
mov byte [esi + 0xbc], 1
cmp byte [ebx + 0xd8f], al
je 0x455fe7
mov dword [esi + 0x70], 3
cmp byte [ebx + 0xd9b], 0
je 0x45600b
cmp dword [edi + 0x204], 0xffffffff
je 0x45600b
push str.Keep_sending_data_to_get_tossed_away
push ebx
call fcn.0044c3f0
add esp, 8
or dword [esi + 0x5c], 2
cmp byte [esi + 0xba], 0
je 0x45614c
lea eax, [ebx + 0x8b0]
push eax
call fcn.00443a20
mov eax, dword [esi + 0x4c]
add esp, 4
cmp byte [eax], 0
je 0x4558f9
mov ecx, eax
mov eax, dword [ebp + 0x10]
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.004d7e10
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4561d2
mov edi, dword [ebp - 8]
jmp 0x455870
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x44], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
pop edi
mov dword [esi + 0x4c], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response
push ebx
call fcn.0044c330
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.0044c330
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.0044c330
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.0044c330
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
pop edi
mov byte [esi + 0xba], 0
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101__Switching_to_HTTP_2
push ebx
call fcn.0044c3f0
add esp, 8
mov dword [esi + 0x74], 3
mov byte [esi + 0xba], 1
mov eax, 1
mov dword [esi + 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 0x45617d
mov eax, dword [edi + 0x1e8]
test dword [eax + 0x44], 0x40000
je 0x456180
cmp dword [ebx + 0x660], 2
jne 0x456180
cmp dword [esi + 4], 0xffffffff
jg 0x456180
jl 0x45617d
cmp dword [esi], 0xffffffff
ja 0x456180
mov byte [ecx], 1
cmp dword [esi + 8], 0
jne 0x456191
cmp dword [esi + 0xc], 0
jne 0x456191
mov byte [ecx], 1
jmp 0x456196
cmp byte [ecx], 0
je 0x45619a
and dword [esi + 0x5c], 0xfffffffe
push dword [ebp - 0xc]
push dword [ebp + 8]
push 1
push ebx
call fcn.0044c2a0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.0044c330
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
push dword [ebp - 0xc]
lea eax, [ebx + 0x8b0]
push dword [ebp + 8]
push eax
call fcn.00443990
add esp, 0xc
test eax, eax
jne 0x4558fb
cmp dword [esi + 0x48], eax
jne 0x4558f9
lea eax, [ebx + 0x8b0]
push eax
call fcn.00443a00
add esp, 4
push eax
lea eax, [ebx + 0x8b0]
push eax
call fcn.00443a10
add esp, 4
push eax
push edi
push ebx
call fcn.00456aa0
add esp, 0x10
cmp eax, 2
jne 0x4558f9
push eax
push edi
mov byte [esi + 0xba], 0
mov dword [esi + 0x44], eax
call fcn.0044d2f0
add esp, 8
cmp byte [ebx + 0x6ec], 0
jne 0x4558f9
push str.Received_HTTP_0.9_when_not_allowed
push ebx
call fcn.0044c330
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret