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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [eax], 0
mov al, byte [ebx]
push edi
cmp al, 0xa
je 0x44e2c7
cmp al, 0xd
je 0x44e2c7
mov ecx, dword [esi + 0xc4]
lea edx, [esi + 0xc4]
mov dword [ebp + 0x1c], 4
lea eax, [ecx + 1]
mov dword [edx], eax
test ecx, ecx
jne 0x44e200
mov dword [esi + 0xd0], ecx
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x25c]
mov eax, dword [eax + 0x48]
test al, 3
je 0x44df72
mov al, byte [ebx]
mov edi, ebx
test al, al
je 0x44dde0
nop dword [eax]
cmp al, 0x20
je 0x44ddd8
cmp al, 9
jne 0x44dde0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44ddd0
push 5
push str.HTTP_
push edi
call fcn.0047f090
add esp, 0xc
test eax, eax
jne 0x44dea0
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x44ded0
sub eax, 1
je 0x44de29
sub eax, 1
je 0x44de29
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.0043ffa0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
mov al, byte [edi + 6]
cmp al, 0x20
je 0x44de34
cmp al, 9
jne 0x44dea0
lea eax, [ecx - 0x30]
lea eax, [eax + eax*4]
add eax, eax
mov dword [esi + 0xd0], eax
mov cl, byte [edi + 7]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x44dea0
mov dl, byte [edi + 8]
lea eax, [edx - 0x30]
cmp al, 9
ja 0x44dea0
mov dh, byte [edi + 9]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x44dea0
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 + 0xd4], eax
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x44e04a
cmp al, 9
je 0x44e04a
cmp al, 0xa
jl 0x44dea0
cmp al, 0xd
jle 0x44e04a
mov edi, dword [ebp + 0x10]
push edi
push ebx
push esi
call fcn.0044d250
add esp, 0xc
cmp eax, 1
jne 0x44e1ef
mov dword [esi + 0xd4], 0xc8
mov dword [esi + 0xd0], 0xa
jmp 0x44e04d
cmp byte [edi + 6], 0x2e
jne 0x44df5a
mov al, byte [edi + 7]
cmp al, 0x30
je 0x44dee5
cmp al, 0x31
jne 0x44df5a
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x44def2
cmp cl, 9
jne 0x44df5a
movsx eax, al
sub eax, 0x26
mov dword [esi + 0xd0], eax
mov cl, byte [edi + 9]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x44df5a
mov dl, byte [edi + 0xa]
lea eax, [edx - 0x30]
cmp al, 9
ja 0x44df5a
mov dh, byte [edi + 0xb]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x44df5a
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 + 0xd4], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x44e04a
cmp al, 9
je 0x44e04a
sub al, 0xa
cmp al, 3
jbe 0x44e04a
push str.Unsupported_HTTP_1_subversion_in_response
push esi
call fcn.0043ffa0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
test eax, 0x40000
je 0x44e1ef
mov al, byte [ebx]
mov edi, ebx
test al, al
je 0x44df95
cmp al, 0x20
je 0x44df8d
cmp al, 9
jne 0x44df95
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44df85
push 5
push str.RTSP_
push edi
call fcn.0047f090
add esp, 0xc
test eax, eax
jne 0x44e1ef
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x44e1f6
cmp byte [edi + 6], 0x2e
jne 0x44e1f6
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x44e1f6
mov al, byte [edi + 8]
cmp al, 0x20
je 0x44dfe0
cmp al, 9
jne 0x44e1f6
mov cl, byte [edi + 9]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x44e1f6
mov dl, byte [edi + 0xa]
lea eax, [edx - 0x30]
cmp al, 9
ja 0x44e1f6
mov dh, byte [edi + 0xb]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x44e1f6
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 + 0xd4], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x44e040
cmp al, 9
je 0x44e040
sub al, 0xa
cmp al, 3
ja 0x44e1f6
mov dword [esi + 0xd0], 0xb
mov edi, dword [ebp + 0x10]
mov edx, dword [esi + 0xd0]
mov eax, edx
mov ecx, dword [esi + 0x18]
mov dword [ebp + 0x1c], ecx
sub eax, 0xa
je 0x44e07a
sub eax, 1
je 0x44e07a
mov eax, edx
mov ecx, 0xa
cdq
idiv ecx
mov ecx, edx
mov edx, eax
mov eax, str.Unsupported_HTTP_version___u._d__in_response
jmp 0x44e0b5
mov al, byte [ecx + 0x41c]
test al, al
je 0x44e0ce
movzx ecx, al
mov eax, 0xcccccccd
mul ecx
mov eax, 0x66666667
shr edx, 3
mov dword [ebp + 8], edx
imul dword [esi + 0xd0]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp + 8]
cmp ecx, edx
je 0x44e0cb
mov eax, str.Version_mismatch__from_HTTP__u_to_HTTP__u_
push ecx
push edx
push eax
push esi
call fcn.0043ffa0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esi + 0xd4]
mov dword [esi + 0xc50], eax
mov eax, dword [esi + 0xd0]
mov dword [esi + 0xc58], eax
movzx eax, byte [esi + 0xd0]
mov byte [ecx + 0x41c], al
mov al, byte [esi + 0xc39]
test al, al
je 0x44e108
movzx eax, al
cmp eax, dword [esi + 0xd0]
jle 0x44e114
mov al, byte [esi + 0xd0]
mov byte [esi + 0xc39], al
mov eax, dword [esi + 0xb50]
or eax, dword [esi + 0xb54]
je 0x44e13e
cmp byte [esi + 0xc3a], 0
jne 0x44e13e
cmp dword [esi + 0xd4], 0x1a0
jne 0x44e13e
mov byte [esi + 0x136], 1
mov eax, dword [esi + 0xd0]
cmp eax, 0xa
jne 0x44e163
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.00440060
push 1
push dword [ebp + 0x1c]
call fcn.00442360
add esp, 0x10
jmp 0x44e186
cmp eax, 0x14
je 0x44e17a
cmp dword [esi + 0xdc], 2
jne 0x44e186
cmp dword [esi + 0xd4], 0x65
jne 0x44e186
mov eax, dword [ecx + 0x3f4]
mov dword [eax], 2
mov ecx, dword [esi + 0xd4]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [esi + 0x137], al
sub ecx, 0xcc
je 0x44e1b7
sub ecx, 0x64
jne 0x44e1e6
cmp byte [esi + 0x3a0], cl
je 0x44e1b7
mov byte [esi + 0xd10], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x137], 1
mov dword [ebp + 0x1c], 0xc
jmp 0x44e203
mov byte [esi + 0x12d], 0
pop edi
pop esi
mov eax, 8
pop ebx
pop ebp
ret
mov edi, dword [ebp + 0x10]
push edi
push 0
push ebx
call fcn.0046e070
add esp, 0xc
test eax, eax
je 0x44e22c
mov eax, str.Nul_byte_in_header
push eax
push esi
call fcn.0043ffa0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0xc4]
cmp ecx, 2
jl 0x44e26f
mov al, byte [ebx]
cmp al, 0x20
je 0x44e241
cmp al, 9
jne 0x44e246
cmp ecx, 2
jg 0x44e26f
push edi
push 0x3a
push ebx
call fcn.0046e070
add esp, 0xc
test eax, eax
jne 0x44e26f
mov eax, str.Header_without_colon
push eax
push esi
call fcn.0043ffa0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
pop ebp
ret
push edi
push ebx
push esi
call fcn.0044b9d0
add esp, 0xc
test eax, eax
jne 0x44e3ac
push edi
push ebx
push 1
push esi
call fcn.0043ff00
mov eax, dword [esi + 0xd4]
add esp, 0x10
sub eax, 0x64
cmp eax, 0x64
mov eax, dword [ebp + 0x1c]
jae 0x44e2a3
or eax, 0x20
push edi
push ebx
push eax
push esi
call fcn.00441110
add esp, 0x10
test eax, eax
jne 0x44e3ac
push eax
push edi
push esi
call fcn.0044b040
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 0x10]
push edi
push ebx
push 1
push esi
call fcn.0043ff00
mov eax, dword [esi + 0xd4]
sub eax, 0x64
cmp eax, 0x64
push edi
sbb eax, eax
and eax, 0x20
add eax, 4
push ebx
push eax
push esi
call fcn.00441110
add esp, 0x20
test eax, eax
jne 0x44e3ac
mov ecx, dword [esi + 0xbc]
mov edx, 0x4b000
add ecx, edi
cmp edi, edx
jae 0x44e33b
mov eax, dword [esi + 0xc90]
add dword [esi + 0xb8], edi
add eax, edi
mov dword [esi + 0xc90], eax
mov dword [esi + 0xbc], ecx
cmp ecx, edx
ja 0x44e345
cmp eax, 0x5dc000
jbe 0x44e35f
mov ecx, eax
mov edx, 0x5dc000
jmp 0x44e345
lea eax, [esi + 0xd4]
test ecx, ecx
je 0x44e365
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.0043ffa0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebx
pop ebp
ret
lea eax, [esi + 0xd4]
mov eax, dword [eax]
sub eax, 0x64
cmp eax, 0x63
ja 0x44e377
mov eax, dword [esi + 0xb8]
jmp 0x44e379
xor eax, eax
mov dword [esi + 0xc0], eax
lea eax, [esi + 0x7f8]
push eax
call fcn.004334b0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
call fcn.0044d340
add esp, 0x14
test eax, eax
jne 0x44e3ac
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
add dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret