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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
push 0x48b5d4
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, dword [ebp + 0x10]
mov al, byte [esi + 9]
test edi, edi
setl byte [ebp - 2]
and al, 0x11
cmp byte [ebp - 2], 0
mov byte [ebp - 1], al
jne 0x43cb04
test byte [ebp + 0x14], 0x40
je 0x43cb08
mov byte [ebp - 1], 0
and byte [ebp + 0x14], 1
push 0x50
pop eax
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.0042465d
mov eax, 0x400
cmp edi, eax
jge 0x43cb2f
mov ecx, dword [ebp + 0xc]
push eax
mov edi, eax
call fcn.00424699
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
mov dword [ebp - 0x10], eax
mov ebx, esi
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x10]
cmp ebx, eax
jae 0x43d1e2
mov edx, dword [ebp + 8]
cmp word [edx], 0
je 0x43d1e2
add eax, 0xfffff81c
mov ecx, ebx
sub ecx, eax
test ecx, 0xfffffffe
jl 0x43cb91
mov ecx, dword [ebp + 0xc]
add edi, 0x400
sub ebx, esi
push edi
sar ebx, 1
call fcn.00424699
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov edx, dword [ebp + 8]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
cmp word [edx], 0x25
je 0x43cbbc
mov ecx, 0x3dd
mov ax, word [edx]
test ax, ax
je 0x43cb40
cmp ax, 0x25
je 0x43cb40
mov word [ebx], ax
inc ebx
inc ebx
inc edx
inc edx
dec ecx
mov dword [ebp - 8], ebx
mov dword [ebp + 8], edx
jns 0x43cb9c
jmp 0x43cb40
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x14], edx
je 0x43ceab
lea eax, [edx + 2]
mov cx, word [eax]
cmp cx, 0x25
mov dword [ebp - 0x20], eax
jne 0x43cbe8
mov word [ebx], cx
inc ebx
inc ebx
add edx, 4
mov dword [ebp + 8], edx
jmp 0x43cb3d
cmp cx, 0x23
jne 0x43cc2b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x30]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x43cb40
mov ecx, dword [ecx + 0x2c]
mov eax, dword [eax + ecx*4 + 8]
mov cx, word [eax]
test cx, cx
je 0x43cb40
mov word [ebx], cx
inc ebx
inc ebx
inc eax
inc eax
xor ecx, ecx
mov cx, word [eax]
test cx, cx
jne 0x43cc15
jmp 0x43cb3d
cmp cx, 0x2a
jne 0x43ccbc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x43cb40
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x2c]
push dword [eax + ecx*4]
call fcn.0046176a
mov dword [ebp + 0x10], eax
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
pop ecx
add eax, ebx
test eax, 0xfffffffe
jl 0x43cc91
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.00424699
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
js 0x43cb40
mov ecx, dword [ebp + 0x10]
inc ecx
mov dx, word [eax]
mov word [ebx], dx
inc ebx
inc ebx
inc eax
inc eax
dec ecx
jne 0x43ccaa
jmp 0x43cb3d
cmp cx, 0x40
jne 0x43cd4f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x43cb40
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x2c]
push dword [eax + ecx*4 + 4]
call fcn.0046176a
mov dword [ebp + 0x10], eax
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
pop ecx
add eax, ebx
test eax, 0xfffffffe
jl 0x43cd23
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.00424699
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4 + 4]
js 0x43cb40
mov ecx, dword [ebp + 0x10]
inc ecx
mov dx, word [eax]
mov word [ebx], dx
inc ebx
inc ebx
inc eax
inc eax
dec ecx
jne 0x43cd3d
jmp 0x43cb3d
push ecx
call fcn.0040e5a7
add esp, 4
test al, al
jne 0x43cd7d
cmp cx, 0x7e
jb 0x43ceab
xor eax, eax
mov ax, word [edx + 4]
push eax
call fcn.0040e5a7
add esp, 4
test al, al
je 0x43ceab
and dword [ebp - 0x24], 0
cmp cx, 0x7e
jb 0x43cd91
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0x25
inc edx
inc edx
mov dword [ebp + 8], edx
movzx edx, word [edx]
xor ecx, ecx
and dword [ebp - 0x30], ecx
push edx
mov dword [ebp + 0x10], edx
call fcn.0040e5a7
add esp, 4
test al, al
je 0x43cdee
push 0
push 0xa
push dword [ebp - 0x30]
push ecx
call fcn.00462a80
mov ecx, eax
movzx eax, word [ebp + 0x10]
mov ebx, edx
cdq
add ecx, eax
adc ebx, edx
add ecx, 0xffffffd0
adc ebx, 0xffffffff
add dword [ebp + 8], 2
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp + 0x10], eax
call fcn.0040e5a7
add esp, 4
test al, al
jne 0x43cdae
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
cdq
cmp dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], eax
ja 0x43cb40
jb 0x43ce0b
cmp ecx, eax
jae 0x43cb40
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x43cb40
mov eax, dword [eax + ecx*4]
push eax
mov dword [ebp - 0x14], eax
call fcn.0046176a
cmp dword [ebp - 0x24], 0
pop ecx
mov dword [ebp + 0x10], eax
je 0x43ce4e
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x22
jne 0x43ce4e
mov ecx, dword [ebp + 0x10]
cmp word [eax + ecx*2 - 2], 0x22
jne 0x43ce46
dec dword [ebp + 0x10]
dec dword [ebp + 0x10]
inc eax
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x43ce87
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.00424699
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp + 0x10]
js 0x43cb40
mov eax, dword [ebp + 0x10]
inc eax
mov ecx, dword [ebp - 0x14]
mov cx, word [ecx]
add dword [ebp - 0x14], 2
mov word [ebx], cx
inc ebx
inc ebx
dec eax
jne 0x43ce94
jmp 0x43cb3d
push 8
push 0x47b738
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x43cf59
add dword [ebp + 8], 0x10
and word [ebp - 0x7c], ax
call fcn.004264c1
and edx, 0x7fffffff
push edx
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0043417d
and word [ebp - 0x3e], 0
lea eax, [ebp - 0x7c]
push eax
call fcn.0046176a
add esp, 0x10
cmp eax, 1
mov dword [ebp + 0x10], eax
jge 0x43cefe
and dword [ebp + 0x10], 0
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x43cf37
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.00424699
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp + 0x10]
lea eax, [ebp - 0x7c]
js 0x43cb40
mov ecx, dword [ebp + 0x10]
inc ecx
mov dx, word [eax]
mov word [ebx], dx
inc ebx
inc ebx
inc eax
inc eax
dec ecx
jne 0x43cf47
jmp 0x43cb3d
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp - 0x20], ecx
xor eax, eax
jmp 0x43cf7d
cmp ax, 0x25
je 0x43cf88
cmp ax, 0x3d
je 0x43cf88
call fcn.004213da
test al, al
jne 0x43cf88
inc ecx
inc ecx
mov ax, word [ecx]
test ax, ax
mov dword [ebp + 8], ecx
jne 0x43cf66
movsx edx, byte [ebp - 1]
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
sar eax, 1
cmp word [ecx], 0x25
mov dword [ebp - 0xc], eax
mov byte [ebp + 0x13], 0
mov dword [ebp - 0x2c], edx
je 0x43cfff
lea ecx, [eax + eax + 4]
sub ecx, dword [ebp - 0x10]
add ecx, ebx
test ecx, 0xfffffffe
jl 0x43cfdd
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.00424699
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
dec eax
mov dword [ebp - 0xc], eax
js 0x43cb40
mov ecx, eax
mov eax, dword [ebp - 0x14]
inc ecx
mov dx, word [eax]
mov word [ebx], dx
inc ebx
inc ebx
inc eax
inc eax
dec ecx
jne 0x43cfed
jmp 0x43cb3d
cmp byte [ebp - 2], 0
jne 0x43d045
mov edx, dword [ebp - 0x20]
mov ax, word [edx]
cmp ax, 0x26
je 0x43d01d
cmp byte [ebp - 1], 0
je 0x43d045
cmp ax, 0x5e
je 0x43d045
mov eax, edx
inc ecx
inc ecx
cmp word [eax], 0x26
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
mov dword [ebp - 0x20], eax
jne 0x43d0de
inc eax
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 1
jmp 0x43d0de
mov eax, dword [ebp - 0x20]
inc ecx
inc ecx
cmp word [eax], 0x5e
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
jne 0x43d05f
inc eax
inc eax
mov dword [ebp - 0x14], eax
mov byte [ebp + 0x13], 8
mov dword [ebp - 0x20], eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
and word [eax], 0
and word [ecx], 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x43d0b1
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0
jne 0x43d0b1
mov eax, dword [ebp - 0xc]
add eax, 0x64
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.00424699
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov word [eax], 0x25
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0
jne 0x43d184
cmp byte [ebp + 0x13], 0
jne 0x43cb40
cmp byte [ebp - 2], 0
mov byte [ebp + 0x13], 1
jne 0x43cb40
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
and word [eax], 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x20]
call fcn.0040e8be
test eax, eax
mov ecx, dword [ebp - 0x24]
mov word [ecx], 0x25
jne 0x43d11b
cmp dword [ebp - 0x2c], eax
jne 0x43cb40
cmp byte [ebp + 0x13], al
jne 0x43cb40
mov byte [ebp + 0x13], 1
jmp 0x43d062
mov eax, dword [eax]
push eax
mov dword [ebp - 0x14], eax
call fcn.0046176a
mov dword [ebp - 0xc], eax
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
pop ecx
add eax, ebx
test eax, 0xfffffffe
jl 0x43d160
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.00424699
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp - 0xc]
js 0x43cb40
mov eax, dword [ebp - 0xc]
inc eax
mov ecx, dword [ebp - 0x14]
mov cx, word [ecx]
add dword [ebp - 0x14], 2
mov word [ebx], cx
inc ebx
inc ebx
dec eax
jne 0x43d16d
jmp 0x43cb3d
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x43d1c0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.00424699
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [esi + edi*2 - 2]
lea ebx, [esi + ebx*2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
dec dword [ebp - 0xc]
js 0x43cb40
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
inc ecx
mov dx, word [eax]
mov word [ebx], dx
inc ebx
inc ebx
inc eax
inc eax
dec ecx
jne 0x43d1d0
jmp 0x43cb3d
and word [ebx], 0
mov ecx, dword [ebp + 0xc]
sub ebx, esi
sar ebx, 1
lea eax, [ebx + 2]
push eax
call fcn.00424699
lea ecx, [ebp - 0x1c]
call fcn.00424686
mov eax, 0x48b5d4
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10