Function at 0x4c9094
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, 0x51a4cc
lea eax, [ebx + 8]
mov edx, dword [ebp + 0xc]
push edi
mov esi, eax
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, dword [0x4fba24]
mov dword [ebx], eax
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x3f0], edx
mov byte [ebx + 0x634], 0
mov byte [ebx + 0x73e], 0
mov byte [ebx + 0x766], 0
mov byte [ebx + 0xbc5], 0
xor ecx, ecx
mov dword [0x51a4ec], ecx
cmp byte [ebx + 0x404], 0
je 0x4c91cb
cmp byte [ebx + 0x468], 0
je 0x4c9188
push ebx
lea eax, [ebx + 0xbc5]
push eax
lea edx, [ebx + 0x634]
push edx
push 0
lea ecx, [ebx + 0x468]
push ecx
call fcn.004c4bec
mov dword [0x51a4e8], eax
mov eax, dword [0x51a4e8]
push eax
push 0x4fbc54
lea edx, [ebx + 0x73e]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
push ebx
push 0
push 0
mov ecx, dword [ebx + 0x5cc]
push ecx
lea eax, [ebx + 0x404]
push eax
call fcn.004c4bec
mov dword [0x51a4ec], eax
cmp dword [0x51a4ec], 0
jge 0x4c9201
xor edx, edx
mov dword [0x51a4ec], edx
jmp 0x4c9201
push ebx
lea ecx, [ebx + 0xbc5]
push ecx
lea eax, [ebx + 0x634]
push eax
mov edx, dword [ebx + 0x5cc]
push edx
lea ecx, [ebx + 0x404]
push ecx
call fcn.004c4bec
mov dword [0x51a4e8], eax
mov eax, dword [0x51a4e8]
push eax
push 0x4fbc58
lea edx, [ebx + 0x73e]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4c9201
mov ecx, dword [0x4fb7fc]
push ecx
push 0x4fbc5c
lea eax, [ebx + 0x634]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
mov edx, dword [0x4fb7fc]
push edx
push 0x4fbc60
lea ecx, [ebx + 0x73e]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
mov eax, dword [0x4f1b10]
mov dword [ebp - 0xc], eax
mov edx, dword [0x4fbcf4]
mov dword [0x4f1b10], edx
jmp 0x4c922a
xor ecx, ecx
mov dword [eax + 0x13c], ecx
mov eax, dword [eax + 0x14c]
mov dword [0x4f1b10], eax
mov eax, dword [0x4f1b10]
test eax, eax
jne 0x4c9217
xor edx, edx
mov dword [0x4fba28], edx
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx*4 + 0x51c9a4]
test esi, esi
je 0x4ca141
xor eax, eax
mov dword [ebp - 0x10], eax
mov byte [ebx + 0x4cc], 0
mov byte [0x51b89f], 0
mov byte [0x51a508], 0
mov byte [ebx + 0x78e], 0
mov byte [ebx + 0x7b6], 0
mov byte [ebx + 0x7de], 0
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebx + 0x3f4], 0xffffffff
mov dword [ebx + 0x3f8], 1
test esi, esi
je 0x4c92bd
mov ecx, dword [esi + 0x24]
push ecx
call fcn.004cbf80
test eax, eax
je 0x4ca141
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x13c], 0
je 0x4c92bd
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x4c9299
test esi, esi
je 0x4ca141
jmp 0x4c92e8
mov edx, dword [esi + 0x24]
push edx
call fcn.004cbf80
test eax, eax
je 0x4ca141
mov ecx, dword [esi + 0x24]
mov dword [ecx + 0x13c], 1
mov esi, dword [esi + 0x30]
test esi, esi
je 0x4c92f2
cmp dword [esi + 0xc], 0
je 0x4c92c7
test esi, esi
je 0x4ca141
mov eax, dword [esi + 0x24]
mov dword [0x4f1b10], eax
mov edx, dword [0x4f1b10]
mov dword [edx + 0x13c], 1
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebx + 0x3fc], edx
xor ecx, ecx
mov dword [ebx + 0x400], ecx
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 2
jne 0x4c95d6
mov edx, dword [esi + 0x28]
cmp dword [edx + 0x1c], 0
je 0x4c9359
lea ecx, [ebx + 8]
push ecx
call fcn.00409a14
pop ecx
mov edx, dword [esi + 0x28]
cmp eax, dword [edx + 0x1c]
jne 0x4ca040
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
push esi
push edi
mov edi, ecx
mov esi, 0x51b0d1
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword [0x51a4dc], 0x51b0d1
jmp 0x4c9398
inc dword [0x51a4dc]
mov eax, dword [0x51a4dc]
cmp byte [eax], 0x20
je 0x4c9392
mov edx, dword [0x51a4dc]
cmp byte [edx], 0
je 0x4ca040
add dword [0x51a4dc], 4
jmp 0x4c93c0
inc dword [0x51a4dc]
mov ecx, dword [0x51a4dc]
cmp byte [ecx], 0x20
je 0x4c93ba
mov eax, dword [0x51a4dc]
cmp byte [eax], 0
je 0x4ca040
mov edx, dword [0x51a4dc]
push edx
call fcn.004c5330
mov dword [0x51a4e0], eax
cmp dword [0x51a4e0], 0
jne 0x4c9405
mov dword [0x51a4e0], 0x4fbc64
jmp 0x4c9405
inc dword [0x51a4dc]
mov ecx, dword [0x51a4dc]
cmp byte [ecx], 0x20
je 0x4c93ff
mov eax, dword [0x51a4dc]
cmp byte [eax], 0x26
jne 0x4c9429
cmp dword [ebx], 0
jne 0x4ca040
inc dword [0x51a4dc]
mov edx, dword [0x51a4dc]
cmp byte [edx], 0
je 0x4ca040
mov ecx, dword [0x51a4dc]
cmp byte [ecx], 0x24
jne 0x4c9474
mov eax, dword [0x51a4dc]
cmp byte [eax + 1], 0x28
jne 0x4c9474
push ebx
push 0x51acea
mov edx, dword [0x51a4dc]
push edx
call fcn.004c4d54
test eax, eax
je 0x4ca040
mov dword [0x51a4dc], 0x51acea
jmp 0x4c94a3
mov ecx, dword [0x51a4dc]
cmp byte [ecx], 0x25
jne 0x4c94a3
push 0
push 0x51acea
mov eax, dword [0x51a4dc]
push eax
call fcn.004e78d4
test eax, eax
je 0x4ca040
mov dword [0x51a4dc], 0x51acea
mov edx, dword [0x51a4dc]
cmp byte [edx], 0x2a
jne 0x4c94ba
mov ecx, dword [0x51a4dc]
cmp byte [ecx + 1], 0
je 0x4c94ea
mov eax, dword [0x51a4dc]
xor edx, edx
mov dl, byte [eax]
test byte [edx*2 + 0x500706], 4
je 0x4c9549
mov ecx, dword [0x51a4dc]
push ecx
call fcn.00409a14
pop ecx
push eax
lea eax, [ebx + 8]
push eax
call fcn.00409a14
pop ecx
pop edx
cmp edx, eax
jne 0x4c9549
mov ecx, dword [0x51a4e0]
push esi
push edi
mov esi, 0x51a8f9
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebx
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
push 0x51a508
push 0x51a8f9
call fcn.004c5410
cmp byte [ebx + 0x7b6], 0
je 0x4ca040
mov dword [ebp - 0x10], 1
jmp 0x4ca040
xor ecx, ecx
mov cl, byte [ebx + 8]
test byte [ecx*2 + 0x500706], 4
jne 0x4ca040
lea eax, [ebx + 8]
push eax
mov edx, dword [0x51a4dc]
push edx
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4ca040
mov ecx, dword [0x51a4e0]
push esi
push edi
mov esi, 0x51a8f9
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebx
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
push 0x51a508
push 0x51a8f9
call fcn.004c5410
cmp byte [ebx + 0x7b6], 0
je 0x4ca040
mov dword [ebp - 0x10], 1
jmp 0x4ca040
cmp dword [ebp + 0x10], 1
jne 0x4c963d
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
push esi
push edi
mov edi, eax
mov esi, 0x51b0d1
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword [0x51a4d8], 0x51b0d1
jmp 0x4c961b
inc dword [0x51a4d8]
mov eax, dword [0x51a4d8]
cmp byte [eax], 0x20
je 0x4c9615
mov edx, dword [0x51a4d8]
cmp byte [edx], 0
je 0x4ca040
add dword [0x51a4d8], 5
jmp 0x4c96b3
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp + 0x14]
jne 0x4ca040
mov edx, dword [esi + 0x28]
mov ecx, dword [edx]
push esi
push edi
mov edi, ecx
mov esi, 0x51b0d1
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword [0x51a4d8], 0x51b0d1
jmp 0x4c968b
inc dword [0x51a4d8]
mov eax, dword [0x51a4d8]
cmp byte [eax], 0x20
je 0x4c9685
mov edx, dword [0x51a4d8]
cmp byte [edx], 0
je 0x4ca040
add dword [0x51a4d8], 3
jmp 0x4c96b3
inc dword [0x51a4d8]
mov ecx, dword [0x51a4d8]
cmp byte [ecx], 0x20
je 0x4c96ad
mov eax, dword [0x51a4d8]
cmp byte [eax], 0
je 0x4ca040
mov edx, dword [0x51a4d8]
cmp byte [edx], 0x6d
je 0x4c96e2
mov ecx, dword [0x51a4d8]
cmp byte [ecx], 0x4d
jne 0x4c9750
push 3
push 0x4fbc6d
mov eax, dword [0x51a4d8]
push eax
call fcn.00401540
add esp, 0xc
test eax, eax
jne 0x4c9750
mov edx, dword [0x4fac34]
shl edx, 2
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
add edx, 0x4fab6c
push edx
lea ecx, [ebx + 0x404]
push ecx
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4ca040
add dword [0x51a4d8], 3
jmp 0x4c9737
inc dword [0x51a4d8]
mov eax, dword [0x51a4d8]
cmp byte [eax], 0x20
je 0x4c9731
mov edx, dword [0x51a4d8]
cmp byte [edx], 0
je 0x4ca040
push 0x3a
mov ecx, dword [0x51a4d8]
push ecx
call fcn.00401278
add esp, 8
mov dword [0x51a4dc], eax
cmp dword [0x51a4dc], 0
je 0x4ca040
mov eax, dword [0x51a4dc]
mov byte [eax], 0
inc dword [0x51a4dc]
jmp 0x4c9789
inc dword [0x51a4dc]
mov edx, dword [0x51a4dc]
cmp byte [edx], 0x20
je 0x4c9783
mov ecx, dword [0x51a4dc]
cmp byte [ecx], 0
je 0x4ca040
cmp dword [0x51a4ec], 0
je 0x4c98db
cmp byte [ebx + 0x73e], 0
je 0x4c98db
xor eax, eax
mov al, byte [ebx + 0x73e]
test byte [eax*2 + 0x500706], 4
je 0x4c98db
lea edx, [ebx + 0x73e]
push edx
call fcn.00409a14
pop ecx
mov dword [0x51a4f0], eax
push 0x3e
mov ecx, dword [0x51a4d8]
push ecx
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c9864
push 0x3d
mov eax, dword [0x51a4d8]
push eax
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c9825
mov edx, dword [0x51a4f0]
cmp edx, dword [0x51a4ec]
jg 0x4ca040
jmp 0x4c98db
push 0x3c
mov ecx, dword [0x51a4d8]
push ecx
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c9850
mov eax, dword [0x51a4f0]
cmp eax, dword [0x51a4ec]
je 0x4ca040
jmp 0x4c98db
mov edx, dword [0x51a4f0]
cmp edx, dword [0x51a4ec]
jge 0x4ca040
jmp 0x4c98db
push 0x3c
mov ecx, dword [0x51a4d8]
push ecx
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c98b5
push 0x3d
mov eax, dword [0x51a4d8]
push eax
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c98a1
mov edx, dword [0x51a4f0]
cmp edx, dword [0x51a4ec]
jl 0x4ca040
jmp 0x4c98db
mov ecx, dword [0x51a4f0]
cmp ecx, dword [0x51a4ec]
jle 0x4ca040
jmp 0x4c98db
push 0x3d
mov eax, dword [0x51a4d8]
push eax
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c98db
mov edx, dword [0x51a4f0]
cmp edx, dword [0x51a4ec]
jne 0x4ca040
push 0x26
mov ecx, dword [0x51a4d8]
push ecx
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c98f9
cmp dword [ebx], 0
jne 0x4ca040
push 0x2b
mov eax, dword [0x51a4d8]
push eax
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c9914
mov dword [ebp - 0x14], 1
push 0x40
mov edx, dword [0x51a4d8]
push edx
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c9933
mov dword [ebx + 0x400], 1
push 0x21
mov ecx, dword [0x51a4d8]
push ecx
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c9952
mov dword [ebx + 0x3fc], 1
mov byte [ebx + 0x766], 0
mov eax, dword [0x51a4d8]
mov dword [0x51a4e0], eax
jmp 0x4c99f7
mov edx, dword [0x51a4e0]
mov al, byte [edx]
cmp al, 0x26
je 0x4c99f1
cmp al, 0x2b
je 0x4c99f1
cmp al, 0x40
je 0x4c99f1
cmp al, 0x21
je 0x4c99f1
cmp al, 0x2a
je 0x4c99f1
cmp al, 0x5e
je 0x4c99f1
cmp al, 0x20
je 0x4c99f1
push edx
call fcn.00401318
pop ecx
cmp eax, 0xf
jbe 0x4c99a2
mov edx, dword [0x51a4e0]
mov byte [edx + 0xf], 0
lea ecx, [ebx + 0x766]
mov eax, dword [0x51a4e0]
push esi
push edi
mov esi, ecx
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x21
lea eax, [ebx + 0x766]
push eax
call fcn.00401278
add esp, 8
mov dword [edi], eax
cmp dword [edi], 0
je 0x4c9a0d
mov edx, dword [edi]
mov byte [edx], 0
jmp 0x4c9a0d
inc dword [0x51a4e0]
mov eax, dword [0x51a4e0]
cmp byte [eax], 0
je 0x4c9a0d
cmp eax, dword [0x51a4dc]
jb 0x4c9968
cmp byte [ebx + 0x7b6], 0
jne 0x4c9a5a
push 0x2a
mov edx, dword [0x51a4d8]
push edx
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c9a5a
lea ecx, [ebx + 0x766]
push esi
push edi
mov edi, ecx
mov esi, 0x4fbc72
mov eax, edi
movsw word es:[edi], word [esi]
pop edi
pop esi
lea edx, [ebx + 0x73e]
push esi
push edi
mov edi, edx
mov esi, 0x4fbc75
mov eax, edi
movsw word es:[edi], word [esi]
pop edi
pop esi
jmp 0x4c9c8c
cmp byte [ebx + 0x766], 0
je 0x4ca040
lea edx, [ebx + 0x634]
mov dword [edi], edx
mov ecx, dword [edi]
push ecx
call fcn.00401318
pop ecx
add eax, dword [edi]
mov dword [0x51a4d4], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
jmp 0x4c9a8d
inc dword [edi]
mov ecx, dword [edi]
cmp byte [ecx], 0x20
je 0x4c9a8b
mov eax, dword [edi]
cmp byte [eax], 0
je 0x4c9c82
jmp 0x4c9abb
cmp al, 0x3d
jne 0x4c9aae
mov dword [ebp - 0x18], 1
jmp 0x4c9ab9
cmp al, 0x2b
jne 0x4c9ac3
mov dword [ebp - 0x14], 1
inc dword [edi]
mov edx, dword [edi]
mov al, byte [edx]
test al, al
jne 0x4c9aa1
mov edx, dword [edi]
cmp byte [edx], 0
je 0x4c9c82
push 0x2c
mov ecx, dword [edi]
push ecx
call fcn.00401278
add esp, 8
mov dword [0x51a4d0], eax
cmp dword [0x51a4d0], 0
je 0x4c9af1
mov eax, dword [0x51a4d0]
mov byte [eax], 0
lea edx, [ebx + 0x73e]
mov ecx, dword [edi]
push esi
push edi
mov esi, edx
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
xor eax, eax
mov al, byte [ebx + 0x766]
test byte [eax*2 + 0x500706], 4
je 0x4c9c15
xor edx, edx
mov dl, byte [ebx + 0x73e]
test byte [edx*2 + 0x500706], 4
je 0x4c9c58
lea ecx, [ebx + 0x73e]
push ecx
call fcn.00409a14
pop ecx
mov dword [0x51a4f4], eax
lea eax, [ebx + 0x766]
push eax
call fcn.00409a14
pop ecx
mov dword [0x51a4f8], eax
cmp byte [ebx + 0x7b6], 0
je 0x4c9b8b
lea edx, [ebx + 0x7b6]
push edx
call fcn.00409a14
pop ecx
mov dword [0x51a4fc], eax
jmp 0x4c9b93
xor ecx, ecx
mov dword [0x51a4fc], ecx
cmp dword [ebp - 0x14], 0
je 0x4c9baa
mov eax, dword [0x51a4f4]
cmp eax, dword [0x51a4f8]
jne 0x4c9c58
mov eax, dword [0x51a4f8]
cmp eax, dword [0x51a4fc]
jle 0x4c9c58
cmp dword [ebp - 0x18], 0
je 0x4c9beb
cmp eax, dword [0x51a4f4]
jne 0x4c9c58
cmp dword [0x51a4d0], 0
je 0x4c9bdf
mov edx, dword [0x51a4d0]
mov byte [edx], 0x2c
mov dword [ebp - 0x1c], 1
jmp 0x4c9c82
mov ecx, dword [0x51a4f4]
cmp ecx, dword [0x51a4f8]
jl 0x4c9c58
cmp dword [0x51a4d0], 0
je 0x4c9c0a
mov eax, dword [0x51a4d0]
mov byte [eax], 0x2c
mov dword [ebp - 0x1c], 1
jmp 0x4c9c82
xor edx, edx
mov dl, byte [ebx + 0x73e]
test byte [edx*2 + 0x500706], 4
jne 0x4c9c58
mov ecx, dword [edi]
push ecx
lea eax, [ebx + 0x766]
push eax
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4c9c58
cmp dword [0x51a4d0], 0
je 0x4c9c4f
mov edx, dword [0x51a4d0]
mov byte [edx], 0x2c
mov dword [ebp - 0x1c], 1
jmp 0x4c9c82
mov eax, dword [0x51a4d0]
test eax, eax
je 0x4c9c82
mov byte [eax], 0x2c
inc eax
mov dword [edi], eax
mov eax, dword [edi]
cmp byte [eax], 0
je 0x4c9c82
cmp eax, dword [0x51a4d4]
jae 0x4c9c82
mov dword [ebp - 0x18], 1
jmp 0x4c9a8d
cmp dword [ebp - 0x1c], 0
je 0x4ca040
mov edx, dword [0x51a4dc]
push edx
call fcn.004c5330
mov dword [0x51a4e0], eax
cmp dword [0x51a4e0], 0
jne 0x4c9cb0
mov dword [0x51a4e0], 0x4fbc78
cmp dword [ebp + 0x10], 1
jne 0x4c9fac
mov ecx, dword [0x51a4dc]
cmp byte [ecx], 0x24
jne 0x4c9cf6
mov eax, dword [0x51a4dc]
cmp byte [eax + 1], 0x28
jne 0x4c9cf6
push ebx
push 0x51acea
mov edx, dword [0x51a4dc]
push edx
call fcn.004c4d54
test eax, eax
je 0x4ca040
mov dword [0x51a4dc], 0x51acea
jmp 0x4c9d25
mov ecx, dword [0x51a4dc]
cmp byte [ecx], 0x25
jne 0x4c9d25
push 0
push 0x51acea
mov eax, dword [0x51a4dc]
push eax
call fcn.004e78d4
test eax, eax
je 0x4ca040
mov dword [0x51a4dc], 0x51acea
mov edx, dword [0x51a4dc]
cmp byte [edx], 0x2a
jne 0x4c9db4
mov ecx, dword [0x51a4dc]
cmp byte [ecx + 1], 0
jne 0x4c9db4
mov eax, dword [0x51a4e0]
push esi
push edi
mov esi, 0x51a8f9
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebx
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
push 0x51a508
push 0x51a8f9
call fcn.004c5410
cmp byte [ebx + 0x7b6], 0
je 0x4ca040
xor ecx, ecx
mov cl, byte [ebx + 0x7b6]
test byte [ecx*2 + 0x500706], 4
jne 0x4ca040
mov dword [ebp - 0x10], 1
jmp 0x4ca040
push 0x2a
mov eax, dword [0x51a4dc]
push eax
call fcn.00401278
add esp, 8
test eax, eax
jne 0x4c9de1
push 0x3f
mov edx, dword [0x51a4dc]
push edx
call fcn.00401278
add esp, 8
test eax, eax
je 0x4c9e9f
lea ecx, [ebx + 8]
push ecx
mov eax, dword [0x51a4dc]
push eax
call fcn.004e842c
test eax, eax
je 0x4c9e9f
mov edx, dword [0x51a4e0]
push esi
push edi
mov esi, 0x51a8f9
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebx
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
push 0x51a508
push 0x51a8f9
call fcn.004c5410
cmp byte [ebx + 0x7b6], 0
je 0x4c9e60
xor ecx, ecx
mov cl, byte [ebx + 0x7b6]
test byte [ecx*2 + 0x500706], 4
jne 0x4c9e60
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x4ca040
lea edx, [ebx + 0x7de]
push esi
push edi
mov esi, edx
mov edi, 0x51a8f9
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x4ca040
mov eax, dword [0x51a4dc]
push eax
call fcn.00401318
pop ecx
mov dword [0x51a4e4], eax
lea edx, [ebx + 8]
push edx
call fcn.00401318
pop ecx
cmp eax, dword [0x51a4e4]
jb 0x4ca040
mov ecx, dword [0x51a4e4]
push ecx
lea eax, [ebx + 8]
push eax
mov edx, dword [0x51a4dc]
push edx
call fcn.00401540
add esp, 0xc
test eax, eax
jne 0x4ca040
mov ecx, dword [0x51a4e4]
cmp byte [ebx + ecx + 8], 0
je 0x4c9f05
mov eax, dword [0x51a4e4]
cmp byte [ebx + eax + 8], 0x20
jne 0x4ca040
mov edx, dword [0x51a4e0]
push esi
push edi
mov esi, 0x51a8f9
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebx
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
push 0x51a508
push 0x51a8f9
call fcn.004c5410
cmp byte [ebx + 0x7b6], 0
je 0x4c9f6d
xor ecx, ecx
mov cl, byte [ebx + 0x7b6]
test byte [ecx*2 + 0x500706], 4
jne 0x4c9f6d
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x4ca040
lea edx, [ebx + 0x7de]
push esi
push edi
mov esi, edx
mov edi, 0x51a8f9
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x4ca040
mov eax, dword [0x51a4dc]
cmp byte [eax], 0x2a
jne 0x4c9fc2
mov edx, dword [0x51a4dc]
cmp byte [edx + 1], 0
je 0x4c9fd8
lea ecx, [ebx + 8]
push ecx
mov eax, dword [0x51a4dc]
push eax
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4ca040
mov edx, dword [0x51a4e0]
push esi
push edi
mov esi, 0x51a8f9
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebx
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 8]
push edx
push 0x51a508
push 0x51a8f9
call fcn.004c5410
cmp byte [ebx + 0x7b6], 0
je 0x4ca040
xor ecx, ecx
mov cl, byte [ebx + 0x7b6]
test byte [ecx*2 + 0x500706], 4
jne 0x4ca040
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
je 0x4ca085
push ebx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.004c8f28
cmp dword [0x4fba28], 0
jne 0x4c9233
mov ecx, dword [0x4f1b10]
push ecx
call fcn.004cbf80
test eax, eax
je 0x4c9233
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x4ca141
jmp 0x4c924d
cmp dword [esi + 0x30], 0
jne 0x4ca0ab
cmp byte [ebx + 0x7b6], 0
je 0x4ca141
push ebx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.004c8f28
jmp 0x4ca141
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + 0x24]
cmp eax, dword [0x4f1b10]
je 0x4ca0c2
cmp byte [ebx + 0x7b6], 0
jne 0x4ca046
cmp dword [ebx + 0x3f8], 0
jne 0x4ca0e4
cmp byte [ebx + 0x7b6], 0
jne 0x4ca046
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x4ca141
jmp 0x4c924d
mov esi, dword [esi + 0x30]
jmp 0x4ca12f
cmp dword [esi + 0x30], 0
jne 0x4ca108
cmp byte [ebx + 0x7b6], 0
je 0x4ca141
push ebx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004c8f28
jmp 0x4ca141
mov edx, dword [esi + 0x30]
mov ecx, dword [edx + 0x24]
mov eax, dword [esi + 0x24]
cmp ecx, eax
je 0x4ca12c
mov dword [eax + 0x13c], 1
cmp byte [ebx + 0x7b6], 0
jne 0x4ca046
mov esi, dword [esi + 0x30]
test esi, esi
je 0x4ca139
cmp dword [esi + 0xc], 0
je 0x4ca0e9
test esi, esi
jne 0x4c92fa
mov eax, dword [ebp - 0xc]
mov dword [0x4f1b10], eax
cmp dword [0x4f1b10], 0
je 0x4ca16a
mov edx, dword [0x4f1b10]
push edx
call fcn.004cbf80
test eax, eax
jne 0x4ca16a
xor ecx, ecx
mov dword [0x4f1b10], ecx
mov eax, dword [ebx + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10