Function at 0x43c527
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 0x4975e4
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 0x10]
mov al, byte [esi + 0xb]
test edi, edi
setl byte [ebp - 2]
and al, 0x11
cmp byte [ebp - 2], 0
mov byte [ebp - 1], al
jne 0x43c55d
test byte [ebp + 0x14], 0x40
je 0x43c561
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.0042c827
mov eax, 0x400
cmp edi, eax
jge 0x43c588
mov ecx, dword [ebp + 0xc]
push eax
mov edi, eax
call fcn.0042c850
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 0x43cc3c
mov edx, dword [ebp + 8]
cmp word [edx], 0
je 0x43cc3c
add eax, 0xfffff81c
mov ecx, ebx
sub ecx, eax
test ecx, 0xfffffffe
jl 0x43c5ea
mov ecx, dword [ebp + 0xc]
add edi, 0x400
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042c850
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 0x43c615
mov ecx, 0x3dd
mov ax, word [edx]
test ax, ax
je 0x43c599
cmp ax, 0x25
je 0x43c599
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 0x43c5f5
jmp 0x43c599
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x14], edx
je 0x43c904
lea eax, [edx + 2]
mov cx, word [eax]
cmp cx, 0x25
mov dword [ebp - 0x20], eax
jne 0x43c641
mov word [ebx], cx
inc ebx
inc ebx
add edx, 4
mov dword [ebp + 8], edx
jmp 0x43c596
cmp cx, 0x23
jne 0x43c684
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x38]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x43c599
mov ecx, dword [ecx + 0x34]
mov eax, dword [eax + ecx*4 + 8]
mov cx, word [eax]
test cx, cx
je 0x43c599
mov word [ebx], cx
inc ebx
inc ebx
inc eax
inc eax
xor ecx, ecx
mov cx, word [eax]
test cx, cx
jne 0x43c66e
jmp 0x43c596
cmp cx, 0x2a
jne 0x43c715
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x38]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x43c599
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x34]
push dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 0x10], eax
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x43c6ea
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.0042c850
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 + 0x34]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + ecx*4]
js 0x43c599
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 0x43c703
jmp 0x43c596
cmp cx, 0x40
jne 0x43c7a8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x38]
add edx, 4
test eax, eax
mov dword [ebp + 8], edx
je 0x43c599
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x34]
push dword [eax + ecx*4 + 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 0x10], eax
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x43c77c
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.0042c850
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 + 0x34]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + ecx*4 + 4]
js 0x43c599
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 0x43c796
jmp 0x43c596
push ecx
call fcn.0040efef
add esp, 4
test al, al
jne 0x43c7d6
cmp cx, 0x7e
jb 0x43c904
xor eax, eax
mov ax, word [edx + 4]
push eax
call fcn.0040efef
add esp, 4
test al, al
je 0x43c904
and dword [ebp - 0x24], 0
cmp cx, 0x7e
jb 0x43c7ea
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.0040efef
add esp, 4
test al, al
je 0x43c847
push 0
push 0xa
push dword [ebp - 0x30]
push ecx
call fcn.0046d9d0
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.0040efef
add esp, 4
test al, al
jne 0x43c807
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
cdq
cmp dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], eax
ja 0x43c599
jb 0x43c864
cmp ecx, eax
jae 0x43c599
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x43c599
mov eax, dword [eax + ecx*4]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 0x24], 0
mov dword [ebp + 0x10], eax
je 0x43c8a7
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x22
jne 0x43c8a7
mov ecx, dword [ebp + 0x10]
cmp word [eax + ecx*2 - 2], 0x22
jne 0x43c89f
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 0x43c8e0
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.0042c850
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 0x43c599
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 0x43c8ed
jmp 0x43c596
push 8
push 0x486e78
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x43c9b3
add dword [ebp + 8], 0x10
and word [ebp - 0x7c], ax
call fcn.00428f27
and edx, 0x7fffffff
push edx
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0043627a
and word [ebp - 0x3e], 0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
mov dword [ebp + 0x10], eax
jge 0x43c958
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 0x43c991
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.0042c850
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 0x43c599
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 0x43c9a1
jmp 0x43c596
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp - 0x20], ecx
xor eax, eax
jmp 0x43c9d7
cmp ax, 0x25
je 0x43c9e2
cmp ax, 0x3d
je 0x43c9e2
call fcn.00402a89
test al, al
jne 0x43c9e2
inc ecx
inc ecx
mov ax, word [ecx]
test ax, ax
mov dword [ebp + 8], ecx
jne 0x43c9c0
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 0x43ca59
lea ecx, [eax + eax + 4]
sub ecx, dword [ebp - 0x10]
add ecx, ebx
test ecx, 0xfffffffe
jl 0x43ca37
mov ecx, dword [ebp + 0xc]
lea edi, [edi + eax + 0x10]
sub ebx, esi
push edi
sar ebx, 1
call fcn.0042c850
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 0x43c599
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 0x43ca47
jmp 0x43c596
cmp byte [ebp - 2], 0
jne 0x43ca9f
mov edx, dword [ebp - 0x20]
mov ax, word [edx]
cmp ax, 0x26
je 0x43ca77
cmp byte [ebp - 1], 0
je 0x43ca9f
cmp ax, 0x5e
je 0x43ca9f
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 0x43cb38
inc eax
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 1
jmp 0x43cb38
mov eax, dword [ebp - 0x20]
inc ecx
inc ecx
cmp word [eax], 0x5e
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
jne 0x43cab9
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 0x43cb0b
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0
jne 0x43cb0b
mov eax, dword [ebp - 0xc]
add eax, 0x64
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.0042c850
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 0x43cbde
cmp byte [ebp + 0x13], 0
jne 0x43c599
cmp byte [ebp - 2], 0
mov byte [ebp + 0x13], 1
jne 0x43c599
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
and word [eax], 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x20]
call fcn.0040f2f5
test eax, eax
mov ecx, dword [ebp - 0x24]
mov word [ecx], 0x25
jne 0x43cb75
cmp dword [ebp - 0x2c], eax
jne 0x43c599
cmp byte [ebp + 0x13], al
jne 0x43c599
mov byte [ebp + 0x13], 1
jmp 0x43cabc
mov eax, dword [eax]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0xc], eax
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, ebx
test eax, 0xfffffffe
jl 0x43cbba
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.0042c850
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 0x43c599
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 0x43cbc7
jmp 0x43c596
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 0x43cc1a
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.0042c850
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 0x43c599
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 0x43cc2a
jmp 0x43c596
and word [ebx], 0
mov ecx, dword [ebp + 0xc]
sub ebx, esi
sar ebx, 1
lea eax, [ebx + 2]
push eax
call fcn.0042c850
lea ecx, [ebp - 0x1c]
call fcn.00427365
mov eax, 0x4975e4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10