Function at 0x454268
Capabilities:
Parse credit card information
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov al, byte [ecx + 9]
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
push edi
setl byte [ebp - 0x11]
and al, 0x11
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x18], ecx
mov byte [ebp - 5], al
jne 0x454293
test byte [ebp + 0x14], 0x80
je 0x454297
mov byte [ebp - 5], 0
mov eax, dword [ebp + 0x18]
and byte [ebp + 0x14], 1
cmp eax, esi
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
je 0x4542af
mov al, byte [eax]
mov byte [ebp - 0x1d], al
push ebx
push 0x50
pop eax
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xc], esi
call fcn.004441bf
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
call fcn.0044b919
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x50]
jae 0x454bae
cmp word [ebx], 0
je 0x454bae
lea ecx, [ebp - 0x6c]
call fcn.0044ba0b
push 0x25
pop esi
cmp word [ebx], si
je 0x454344
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 4]
sar ecx, 1
jmp 0x45433c
mov ax, word [ebx]
test ax, ax
je 0x4542f3
cmp ax, si
je 0x4542f3
mov edx, dword [ebp - 4]
mov word [edx], ax
add dword [ebp - 4], 2
inc ebx
inc ebx
dec ecx
mov dword [ebp - 0xc], ecx
jns 0x454323
jmp 0x4542f3
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x2c], ebx
je 0x454584
lea edx, [ebx + 2]
mov cx, word [edx]
cmp cx, si
jne 0x45436b
mov eax, dword [ebp - 4]
mov word [eax], si
add dword [ebp - 4], 2
add ebx, 4
jmp 0x4542f3
cmp cx, 0x23
jne 0x4543b0
mov eax, dword [edi + 0x3c]
add ebx, 4
test eax, eax
mov dword [ebp + 8], ebx
je 0x4542ed
mov ecx, dword [edi + 0x38]
mov eax, dword [eax + ecx*4 + 8]
mov cx, word [eax]
test cx, cx
je 0x4542ed
mov edx, dword [ebp - 4]
mov word [edx], cx
add dword [ebp - 4], 2
inc eax
inc eax
xor ecx, ecx
mov cx, word [eax]
test cx, cx
jne 0x454395
jmp 0x4542f3
cmp cx, 0x2a
jne 0x454413
mov eax, dword [edi + 0x3c]
add ebx, 4
test eax, eax
mov dword [ebp + 8], ebx
je 0x4542ed
mov ecx, dword [edi + 0x38]
push dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 2]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044b990
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + eax*4]
dec esi
mov dword [ebp - 0xc], esi
js 0x4542ed
lea ecx, [esi + 1]
sub esi, ecx
mov dword [ebp - 0xc], esi
mov dx, word [eax]
mov esi, dword [ebp - 4]
mov word [esi], dx
add dword [ebp - 4], 2
inc eax
inc eax
dec ecx
jne 0x4543fc
jmp 0x4542f3
cmp cx, 0x40
jne 0x454478
mov eax, dword [edi + 0x3c]
add ebx, 4
test eax, eax
mov dword [ebp + 8], ebx
je 0x4542ed
mov ecx, dword [edi + 0x38]
push dword [eax + ecx*4 + 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 2]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044b990
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + eax*4 + 4]
dec esi
mov dword [ebp - 0xc], esi
js 0x4542ed
lea ecx, [esi + 1]
sub esi, ecx
mov dword [ebp - 0xc], esi
mov dx, word [eax]
mov esi, dword [ebp - 4]
mov word [esi], dx
add dword [ebp - 4], 2
inc eax
inc eax
dec ecx
jne 0x454461
jmp 0x4542f3
push ecx
call fcn.00443c3d
add esp, 4
test al, al
jne 0x4544a6
cmp cx, 0x7e
jb 0x454584
xor eax, eax
mov ax, word [ebx + 4]
push eax
call fcn.00443c3d
add esp, 4
test al, al
je 0x454584
and dword [ebp - 0x34], 0
cmp cx, 0x7e
jb 0x4544b5
mov dword [ebp - 0x34], esi
mov ebx, edx
inc ebx
inc ebx
xor esi, esi
mov si, word [ebx]
mov dword [ebp + 8], ebx
xor ecx, ecx
xor edi, edi
push esi
call fcn.00443c3d
add esp, 4
test al, al
je 0x454504
push 0
push 0xa
push edi
push ecx
call fcn.004aa1b0
mov ecx, eax
movzx eax, si
mov edi, edx
cdq
add ecx, eax
adc edi, edx
add ecx, 0xffffffd0
adc edi, 0xffffffff
inc ebx
inc ebx
xor esi, esi
mov si, word [ebx]
push esi
call fcn.00443c3d
add esp, 4
test al, al
jne 0x4544d0
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x38]
cdq
cmp edi, edx
ja 0x4542ed
jb 0x45451d
cmp ecx, eax
jae 0x4542ed
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x4542ed
mov esi, dword [eax + ecx*4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 0x34], 0
mov edi, eax
je 0x45454f
cmp word [esi], 0x22
jne 0x45454f
cmp word [esi + edi*2 - 2], 0x22
jne 0x45454c
dec edi
dec edi
inc esi
inc esi
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044b990
dec edi
mov dword [ebp - 0xc], edi
js 0x4542ed
lea eax, [edi + 1]
sub edi, eax
mov dword [ebp - 0xc], edi
mov cx, word [esi]
mov edx, dword [ebp - 4]
mov word [edx], cx
add dword [ebp - 4], 2
inc esi
inc esi
dec eax
jne 0x45456d
jmp 0x4542f0
lea edi, [ebx + 2]
mov esi, edi
jmp 0x45458d
inc esi
inc esi
cmp word [esi], 0x26
je 0x45458b
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
push 7
push str.RANDOM_
push esi
call ebx
test eax, eax
jne 0x4545b4
call fcn.00440360
and edx, 0x7fffffff
jmp 0x4545cc
push 7
push str.__THIS_
push esi
call ebx
test eax, eax
jne 0x454641
mov eax, dword [ebp - 0x18]
add eax, 0x75bd036
xor edx, edx
and word [ebp - 0x110], 0
push edx
push eax
lea eax, [ebp - 0x110]
lea ebx, [esi + 0xe]
push eax
mov dword [ebp + 8], ebx
call fcn.00497e21
and word [ebp - 0x6e], 0
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, 1
jge 0x454606
xor esi, esi
lea eax, [esi + 2]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044b990
dec esi
lea eax, [ebp - 0x110]
mov dword [ebp - 0xc], esi
js 0x4542ed
lea ecx, [esi + 1]
sub esi, ecx
mov dword [ebp - 0xc], esi
mov dx, word [eax]
mov esi, dword [ebp - 4]
mov word [esi], dx
add dword [ebp - 4], 2
inc eax
inc eax
dec ecx
jne 0x45462a
jmp 0x4542f0
mov ecx, edi
jmp 0x454653
cmp ax, 0x25
je 0x45465e
cmp ax, 0x3d
je 0x45465e
inc ecx
inc ecx
mov ax, word [ecx]
test ax, ax
mov dword [ebp + 8], ecx
jne 0x454645
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov eax, ebx
sub eax, ecx
sar eax, 1
cmp word [ebx], 0x25
mov dword [ebp - 0x38], eax
movsx eax, byte [ebp - 5]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 6], 0
mov dword [ebp - 0x4c], eax
jne 0x454ad9
cmp byte [ebp - 0x11], 0
jne 0x4546c5
mov ax, word [edi]
cmp ax, 0x26
je 0x4546a0
cmp byte [ebp - 5], 0
je 0x4546c5
cmp ax, 0x5e
je 0x4546c5
add dword [ebp + 8], 2
cmp word [edi], 0x26
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x40], edi
jne 0x4547ee
inc edi
inc edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x4c], 1
jmp 0x4547ee
add dword [ebp + 8], 2
mov eax, edi
cmp word [eax], 0x5e
mov dword [ebp - 0x2c], eax
jne 0x4546dd
inc eax
inc eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 6], 8
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x28]
xor esi, esi
mov edi, 0xcb
mov word [ecx], si
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], 0x7fffffff
jmp 0x454713
mov cx, word [eax]
test cx, cx
je 0x454758
cmp cx, 0x3a
jne 0x454711
cmp word [eax + 2], 0x7e
je 0x45471c
inc eax
inc eax
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jb 0x4546fc
jmp 0x454758
and word [eax], 0
add dword [ebp - 0x1c], 4
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044073a
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
pop ecx
pop ecx
call fcn.00442774
test al, al
je 0x454758
add dword [ebp - 0x1c], 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044073a
pop ecx
pop ecx
cmp byte [ebp - 0x1d], 0
jne 0x4547b9
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
call edi
push dword [ebp - 0x54]
and word [ebx], 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
jle 0x4547ac
mov eax, dword [ebp - 0x28]
cmp word [eax], 0
jne 0x4547ac
add esi, 0x64
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x54], esi
call fcn.004441e6
push 0
call edi
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
mov word [ebx], 0x25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x4549b9
test esi, esi
jg 0x454b51
cmp edi, 0xcb
jne 0x454b51
cmp byte [ebp - 6], al
jne 0x454abf
cmp byte [ebp - 0x11], al
mov byte [ebp - 6], 1
jne 0x454abf
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], 0x7fffffff
jmp 0x45482f
mov cx, word [eax]
cmp cx, dx
je 0x45496d
cmp cx, 0x3a
jne 0x454820
cmp word [eax + 2], 0x7e
je 0x454838
inc eax
inc eax
cmp cx, 0x3f
mov dword [ebp - 0x10], eax
je 0x454913
cmp eax, ebx
jb 0x454807
jmp 0x45496d
mov ecx, dword [ebp - 0x18]
xor esi, esi
push esi
push 0xffffffffffffffff
push esi
push dword [ebp - 0x40]
mov word [eax], si
call fcn.004108b2
mov edi, eax
mov eax, dword [ebp - 0x10]
mov word [eax], 0x3a
add dword [ebp - 0x10], 4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044073a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
mov ax, word [ecx]
call fcn.00442774
test al, al
je 0x45489c
lea eax, [ebp - 0x30]
push eax
inc ecx
lea eax, [ebp - 0x10]
inc ecx
push eax
mov dword [ebp - 0x10], ecx
call fcn.0044073a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
jmp 0x45489c
cmp ax, 0x25
je 0x4548a6
inc ecx
inc ecx
mov dword [ebp - 0x10], ecx
mov ax, word [ecx]
cmp ax, si
jne 0x454891
jmp 0x4548ac
add ecx, 2
mov dword [ebp + 8], ecx
cmp edi, esi
je 0x454999
mov esi, dword [edi + 4]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp - 0x3c]
cmp edx, ecx
mov eax, esi
lea edi, [esi + ecx*2]
mov dword [ebp - 0x10], eax
jle 0x4548cb
mov edx, ecx
cmp dword [ebp - 0x30], ecx
mov ebx, ecx
jg 0x4548d5
mov ebx, dword [ebp - 0x30]
test edx, edx
mov dword [ebp - 0xc], ebx
jl 0x454a24
test ebx, ebx
jl 0x454a24
test edx, edx
jle 0x454a81
lea ecx, [esi + edx*2]
cmp esi, ecx
jae 0x454a1c
cmp word [eax], 0
je 0x454a14
inc eax
inc eax
cmp eax, ecx
mov dword [ebp - 0x10], eax
jb 0x4548fb
jmp 0x454a1c
lea esi, [eax - 2]
mov word [esi], dx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
jmp 0x45492c
inc ecx
inc ecx
cmp ax, 0x3a
mov dword [ebp - 0x10], ecx
je 0x454936
mov ax, word [ecx]
cmp ax, dx
jne 0x454921
jmp 0x454939
mov dword [ebp - 0x1c], ecx
cmp word [ebx], dx
je 0x45496d
cmp word [ebx + 2], 0x25
jne 0x45496d
lea eax, [ebx + 4]
cmp word [eax], 0x64
jne 0x45496d
jmp 0x454958
cmp cx, 0x25
je 0x454965
inc eax
inc eax
mov dword [ebp - 0x10], eax
mov cx, word [eax]
cmp cx, dx
jne 0x454950
jmp 0x45496d
mov ebx, eax
add eax, 2
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x18]
xor edi, edi
push edi
push 0xffffffffffffffff
push edi
push dword [ebp - 0x40]
mov word [ebx], di
call fcn.004108b2
cmp esi, edi
mov word [ebx], 0x25
je 0x454991
mov word [esi], 0x3f
inc esi
inc esi
cmp eax, edi
jne 0x454a67
cmp dword [ebp - 0x4c], 0
jne 0x4542ed
cmp byte [ebp - 6], 0
jne 0x454a5b
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 6], 1
jmp 0x4546e0
cmp dword [ebp - 0x24], esi
mov word [eax], 0x3a
jle 0x4549c6
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x30], esi
jle 0x4549ce
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x24], 0
jge 0x4549e3
mov eax, esi
neg eax
cmp dword [ebp - 0x24], eax
jge 0x4549e0
mov dword [ebp - 0x24], eax
add dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x30]
mov eax, esi
sub eax, dword [ebp - 0x24]
test ecx, ecx
jge 0x4549fa
lea esi, [eax + ecx]
test esi, esi
jge 0x454a06
xor esi, esi
jmp 0x454a06
cmp esi, eax
jle 0x454a00
mov esi, eax
cmp esi, ecx
jle 0x454a06
mov esi, ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
lea edi, [eax + ecx*2]
jmp 0x454b81
sub eax, esi
sar eax, 1
mov edx, eax
xor ebx, ebx
lea esi, [esi + edx*2]
mov dword [ebp - 0xc], ebx
jmp 0x454a81
cmp word [esi], 0
je 0x454a39
cmp eax, edi
jae 0x454a39
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp word [eax], 0
jne 0x454a2a
sub eax, esi
sar eax, 1
test edx, edx
jge 0x454a47
add edx, eax
jns 0x454a47
xor edx, edx
test ebx, ebx
jge 0x454a53
sub eax, edx
add ebx, eax
jns 0x454a53
xor ebx, ebx
mov dword [ebp - 0xc], ebx
lea esi, [esi + edx*2]
jmp 0x454a81
cmp byte [ebp - 5], 1
je 0x4542ed
jmp 0x454ad5
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c4]
push ecx
push esi
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.0044ba7b
add esp, 0x14
mov esi, eax
mov eax, dword [ebp - 0xc]
add eax, 2
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044b990
jmp 0x454aac
mov ax, word [esi]
mov ecx, dword [ebp - 4]
mov word [ecx], ax
mov eax, dword [ebp - 4]
mov ax, word [eax]
add dword [ebp - 4], 2
inc esi
inc esi
test ax, ax
je 0x454ab6
dec dword [ebp - 0xc]
jns 0x454a92
jmp 0x4542ed
sub dword [ebp - 4], 2
jmp 0x4542ed
cmp byte [ebp - 5], 1
jne 0x454acd
xor al, al
je 0x4542ed
sub dword [ebp + 8], 2
xor al, al
je 0x454ad9
sub dword [ebp + 8], 2
mov eax, dword [ebp - 0x38]
add eax, 3
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044b990
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x25
jne 0x454b28
add ecx, 2
mov ax, word [ecx]
cmp ax, 0x25
je 0x454b22
cmp ax, 0x2a
je 0x454b22
cmp ax, 0x40
je 0x454b22
cmp ax, 0x23
je 0x454b22
cmp ax, 0x7e
je 0x454b22
push eax
call fcn.00443c3d
add esp, 4
test al, al
je 0x454b28
inc dword [ebp - 0x38]
mov dword [ebp + 8], ecx
dec dword [ebp - 0x38]
js 0x4542ed
mov eax, dword [ebp - 0x38]
inc eax
mov ecx, dword [ebp - 0x34]
mov cx, word [ecx]
mov edx, dword [ebp - 4]
add dword [ebp - 0x34], 2
mov word [edx], cx
add dword [ebp - 4], 2
dec eax
jne 0x454b35
jmp 0x4542ed
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x454b76
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x92], 0
jne 0x454b76
push 0x25
push dword [ebp - 0x28]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x454b76
mov byte [edi], 1
test esi, esi
jle 0x454b7e
mov byte [ebp - 0x1e], 1
mov edi, dword [ebp - 0x28]
lea eax, [esi + 2]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044b990
dec esi
js 0x4542ed
lea eax, [esi + 1]
mov cx, word [edi]
mov edx, dword [ebp - 4]
mov word [edx], cx
add dword [ebp - 4], 2
inc edi
inc edi
dec eax
jne 0x454b97
jmp 0x4542ed
and word [eax], 0
cmp byte [ebp - 0x1e], 0
pop ebx
jne 0x454bcc
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x454bcc
cmp byte [edi + 0x92], 0
jne 0x454bcc
mov byte [eax], 1
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0xc]
sar eax, 1
inc eax
inc eax
push eax
call fcn.004441e6
mov esi, dword [ebp - 4]
sub esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
sar esi, 1
call fcn.0043dd41
pop edi
mov eax, esi
pop esi
leave
ret 0x14