Function at 0x4588f5
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 0x458920
test byte [ebp + 0x14], 0x80
je 0x458924
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 0x45893c
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.004465ac
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.0044e8bb
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x50]
jae 0x45923b
cmp word [ebx], 0
je 0x45923b
lea ecx, [ebp - 0x6c]
call fcn.0044e9ad
push 0x25
pop esi
cmp word [ebx], si
je 0x4589d1
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 4]
sar ecx, 1
jmp 0x4589c9
mov ax, word [ebx]
test ax, ax
je 0x458980
cmp ax, si
je 0x458980
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 0x4589b0
jmp 0x458980
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x2c], ebx
je 0x458c11
lea edx, [ebx + 2]
mov cx, word [edx]
cmp cx, si
jne 0x4589f8
mov eax, dword [ebp - 4]
mov word [eax], si
add dword [ebp - 4], 2
add ebx, 4
jmp 0x458980
cmp cx, 0x23
jne 0x458a3d
mov eax, dword [edi + 0x3c]
add ebx, 4
test eax, eax
mov dword [ebp + 8], ebx
je 0x45897a
mov ecx, dword [edi + 0x38]
mov eax, dword [eax + ecx*4 + 8]
mov cx, word [eax]
test cx, cx
je 0x45897a
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 0x458a22
jmp 0x458980
cmp cx, 0x2a
jne 0x458aa0
mov eax, dword [edi + 0x3c]
add ebx, 4
test eax, eax
mov dword [ebp + 8], ebx
je 0x45897a
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.0044e932
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + eax*4]
dec esi
mov dword [ebp - 0xc], esi
js 0x45897a
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 0x458a89
jmp 0x458980
cmp cx, 0x40
jne 0x458b05
mov eax, dword [edi + 0x3c]
add ebx, 4
test eax, eax
mov dword [ebp + 8], ebx
je 0x45897a
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.0044e932
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 0x45897a
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 0x458aee
jmp 0x458980
push ecx
call fcn.00414d24
add esp, 4
test al, al
jne 0x458b33
cmp cx, 0x7e
jb 0x458c11
xor eax, eax
mov ax, word [ebx + 4]
push eax
call fcn.00414d24
add esp, 4
test al, al
je 0x458c11
and dword [ebp - 0x34], 0
cmp cx, 0x7e
jb 0x458b42
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.00414d24
add esp, 4
test al, al
je 0x458b91
push 0
push 0xa
push edi
push ecx
call fcn.004b4630
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.00414d24
add esp, 4
test al, al
jne 0x458b5d
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x38]
cdq
cmp edi, edx
ja 0x45897a
jb 0x458baa
cmp ecx, eax
jae 0x45897a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x45897a
mov esi, dword [eax + ecx*4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 0x34], 0
mov edi, eax
je 0x458bdc
cmp word [esi], 0x22
jne 0x458bdc
cmp word [esi + edi*2 - 2], 0x22
jne 0x458bd9
dec edi
dec edi
inc esi
inc esi
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044e932
dec edi
mov dword [ebp - 0xc], edi
js 0x45897a
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 0x458bfa
jmp 0x45897d
lea edi, [ebx + 2]
mov esi, edi
jmp 0x458c1a
inc esi
inc esi
cmp word [esi], 0x26
je 0x458c18
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
push 7
push str.RANDOM_
push esi
call ebx
test eax, eax
jne 0x458c41
call fcn.004425fc
and edx, 0x7fffffff
jmp 0x458c59
push 7
push str.__THIS_
push esi
call ebx
test eax, eax
jne 0x458cce
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.004a12b7
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 0x458c93
xor esi, esi
lea eax, [esi + 2]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044e932
dec esi
lea eax, [ebp - 0x110]
mov dword [ebp - 0xc], esi
js 0x45897a
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 0x458cb7
jmp 0x45897d
mov ecx, edi
jmp 0x458ce0
cmp ax, 0x25
je 0x458ceb
cmp ax, 0x3d
je 0x458ceb
inc ecx
inc ecx
mov ax, word [ecx]
test ax, ax
mov dword [ebp + 8], ecx
jne 0x458cd2
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 0x459166
cmp byte [ebp - 0x11], 0
jne 0x458d52
mov ax, word [edi]
cmp ax, 0x26
je 0x458d2d
cmp byte [ebp - 5], 0
je 0x458d52
cmp ax, 0x5e
je 0x458d52
add dword [ebp + 8], 2
cmp word [edi], 0x26
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x40], edi
jne 0x458e7b
inc edi
inc edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x4c], 1
jmp 0x458e7b
add dword [ebp + 8], 2
mov eax, edi
cmp word [eax], 0x5e
mov dword [ebp - 0x2c], eax
jne 0x458d6a
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 0x458da0
mov cx, word [eax]
test cx, cx
je 0x458de5
cmp cx, 0x3a
jne 0x458d9e
cmp word [eax + 2], 0x7e
je 0x458da9
inc eax
inc eax
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jb 0x458d89
jmp 0x458de5
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.004429d6
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
pop ecx
pop ecx
call fcn.00444c7c
test al, al
je 0x458de5
add dword [ebp - 0x1c], 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004429d6
pop ecx
pop ecx
cmp byte [ebp - 0x1d], 0
jne 0x458e46
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 0x458e39
mov eax, dword [ebp - 0x28]
cmp word [eax], 0
jne 0x458e39
add esi, 0x64
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x54], esi
call fcn.004465d3
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 0x459046
test esi, esi
jg 0x4591de
cmp edi, 0xcb
jne 0x4591de
cmp byte [ebp - 6], al
jne 0x45914c
cmp byte [ebp - 0x11], al
mov byte [ebp - 6], 1
jne 0x45914c
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 0x458ebc
mov cx, word [eax]
cmp cx, dx
je 0x458ffa
cmp cx, 0x3a
jne 0x458ead
cmp word [eax + 2], 0x7e
je 0x458ec5
inc eax
inc eax
cmp cx, 0x3f
mov dword [ebp - 0x10], eax
je 0x458fa0
cmp eax, ebx
jb 0x458e94
jmp 0x458ffa
mov ecx, dword [ebp - 0x18]
xor esi, esi
push esi
push 0xffffffffffffffff
push esi
push dword [ebp - 0x40]
mov word [eax], si
call fcn.00411019
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.004429d6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
mov ax, word [ecx]
call fcn.00444c7c
test al, al
je 0x458f29
lea eax, [ebp - 0x30]
push eax
inc ecx
lea eax, [ebp - 0x10]
inc ecx
push eax
mov dword [ebp - 0x10], ecx
call fcn.004429d6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
jmp 0x458f29
cmp ax, 0x25
je 0x458f33
inc ecx
inc ecx
mov dword [ebp - 0x10], ecx
mov ax, word [ecx]
cmp ax, si
jne 0x458f1e
jmp 0x458f39
add ecx, 2
mov dword [ebp + 8], ecx
cmp edi, esi
je 0x459026
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 0x458f58
mov edx, ecx
cmp dword [ebp - 0x30], ecx
mov ebx, ecx
jg 0x458f62
mov ebx, dword [ebp - 0x30]
test edx, edx
mov dword [ebp - 0xc], ebx
jl 0x4590b1
test ebx, ebx
jl 0x4590b1
test edx, edx
jle 0x45910e
lea ecx, [esi + edx*2]
cmp esi, ecx
jae 0x4590a9
cmp word [eax], 0
je 0x4590a1
inc eax
inc eax
cmp eax, ecx
mov dword [ebp - 0x10], eax
jb 0x458f88
jmp 0x4590a9
lea esi, [eax - 2]
mov word [esi], dx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
jmp 0x458fb9
inc ecx
inc ecx
cmp ax, 0x3a
mov dword [ebp - 0x10], ecx
je 0x458fc3
mov ax, word [ecx]
cmp ax, dx
jne 0x458fae
jmp 0x458fc6
mov dword [ebp - 0x1c], ecx
cmp word [ebx], dx
je 0x458ffa
cmp word [ebx + 2], 0x25
jne 0x458ffa
lea eax, [ebx + 4]
cmp word [eax], 0x64
jne 0x458ffa
jmp 0x458fe5
cmp cx, 0x25
je 0x458ff2
inc eax
inc eax
mov dword [ebp - 0x10], eax
mov cx, word [eax]
cmp cx, dx
jne 0x458fdd
jmp 0x458ffa
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.00411019
cmp esi, edi
mov word [ebx], 0x25
je 0x45901e
mov word [esi], 0x3f
inc esi
inc esi
cmp eax, edi
jne 0x4590f4
cmp dword [ebp - 0x4c], 0
jne 0x45897a
cmp byte [ebp - 6], 0
jne 0x4590e8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 6], 1
jmp 0x458d6d
cmp dword [ebp - 0x24], esi
mov word [eax], 0x3a
jle 0x459053
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x30], esi
jle 0x45905b
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x24], 0
jge 0x459070
mov eax, esi
neg eax
cmp dword [ebp - 0x24], eax
jge 0x45906d
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 0x459087
lea esi, [eax + ecx]
test esi, esi
jge 0x459093
xor esi, esi
jmp 0x459093
cmp esi, eax
jle 0x45908d
mov esi, eax
cmp esi, ecx
jle 0x459093
mov esi, ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
lea edi, [eax + ecx*2]
jmp 0x45920e
sub eax, esi
sar eax, 1
mov edx, eax
xor ebx, ebx
lea esi, [esi + edx*2]
mov dword [ebp - 0xc], ebx
jmp 0x45910e
cmp word [esi], 0
je 0x4590c6
cmp eax, edi
jae 0x4590c6
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp word [eax], 0
jne 0x4590b7
sub eax, esi
sar eax, 1
test edx, edx
jge 0x4590d4
add edx, eax
jns 0x4590d4
xor edx, edx
test ebx, ebx
jge 0x4590e0
sub eax, edx
add ebx, eax
jns 0x4590e0
xor ebx, ebx
mov dword [ebp - 0xc], ebx
lea esi, [esi + edx*2]
jmp 0x45910e
cmp byte [ebp - 5], 1
je 0x45897a
jmp 0x459162
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c4]
push ecx
push esi
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.0044ea1d
add esp, 0x14
mov esi, eax
mov eax, dword [ebp - 0xc]
add eax, 2
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044e932
jmp 0x459139
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 0x459143
dec dword [ebp - 0xc]
jns 0x45911f
jmp 0x45897a
sub dword [ebp - 4], 2
jmp 0x45897a
cmp byte [ebp - 5], 1
jne 0x45915a
xor al, al
je 0x45897a
sub dword [ebp + 8], 2
xor al, al
je 0x459166
sub dword [ebp + 8], 2
mov eax, dword [ebp - 0x38]
add eax, 3
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044e932
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x25
jne 0x4591b5
add ecx, 2
mov ax, word [ecx]
cmp ax, 0x25
je 0x4591af
cmp ax, 0x2a
je 0x4591af
cmp ax, 0x40
je 0x4591af
cmp ax, 0x23
je 0x4591af
cmp ax, 0x7e
je 0x4591af
push eax
call fcn.00414d24
add esp, 4
test al, al
je 0x4591b5
inc dword [ebp - 0x38]
mov dword [ebp + 8], ecx
dec dword [ebp - 0x38]
js 0x45897a
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 0x4591c2
jmp 0x45897a
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x459203
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x92], 0
jne 0x459203
push 0x25
push dword [ebp - 0x28]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x459203
mov byte [edi], 1
test esi, esi
jle 0x45920b
mov byte [ebp - 0x1e], 1
mov edi, dword [ebp - 0x28]
lea eax, [esi + 2]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044e932
dec esi
js 0x45897a
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 0x459224
jmp 0x45897a
and word [eax], 0
cmp byte [ebp - 0x1e], 0
pop ebx
jne 0x459259
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x459259
cmp byte [edi + 0x92], 0
jne 0x459259
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.004465d3
mov esi, dword [ebp - 4]
sub esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
sar esi, 1
call fcn.0043fe25
pop edi
mov eax, esi
pop esi
leave
ret 0x14