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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov esi, 0x4e8a00
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]
mov byte [0x4e962d], 0
mov byte [0x4e9f10], 0
mov byte [0x4e9f38], 0
mov byte [0x4e9f88], 0
mov byte [0x4ea523], 0
cmp byte [0x4e8de7], 0
je 0x499613
cmp byte [0x4ea3bf], 0
je 0x4995e3
push 0x4ea523
push 0x4e962d
push 0
push 0x4ea3bf
call fcn.00496010
push eax
push 0x4d2822
push 0x4e9f38
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0
mov eax, dword [0x4d0300]
push eax
push 0x4e8de7
call fcn.00496010
push eax
push 0x4d2826
push 0x4e9f10
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x499644
push 0x4ea523
push 0x4e962d
mov edx, dword [0x4d0300]
push edx
push 0x4e8de7
call fcn.00496010
push eax
push 0x4d282a
push 0x4e9f38
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x499644
mov ecx, dword [0x4d237c]
push ecx
push 0x4d282e
push 0x4e962d
call sub.USER32.dll_wsprintfA
add esp, 0xc
mov eax, dword [0x4d237c]
push eax
push 0x4d2832
push 0x4e9f38
call sub.USER32.dll_wsprintfA
add esp, 0xc
mov edx, dword [0x4ca4e0]
mov dword [ebp - 0x10], edx
mov ecx, dword [0x4d28a4]
mov dword [0x4ca4e0], ecx
jmp 0x49966e
xor edx, edx
mov dword [eax + 0x13c], edx
mov eax, dword [eax + 0x14c]
mov dword [0x4ca4e0], eax
mov eax, dword [0x4ca4e0]
test eax, eax
jne 0x49965b
xor edx, edx
mov dword [0x4d2634], edx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx*4 + 0x4eaa60]
test esi, esi
je 0x49a2e3
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [0x4ea423], 0
mov byte [0x4ea598], 0
mov byte [0x4e8e4b], 0
mov byte [0x4e9f60], 0
mov byte [0x4e9fb0], 0
mov byte [0x4e9fd8], 0
xor edx, edx
mov dword [0x4ea980], edx
mov dword [0x4e9f0c], 0xffffffff
mov dword [0x4ea588], 1
test esi, esi
je 0x499704
mov ecx, dword [esi + 0x20]
push ecx
call fcn.0049bccc
test eax, eax
je 0x49a2e3
mov eax, dword [esi + 0x20]
cmp dword [eax + 0x13c], 0
je 0x499704
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x4996e0
test esi, esi
je 0x49a2e3
jmp 0x49972f
mov edx, dword [esi + 0x20]
push edx
call fcn.0049bccc
test eax, eax
je 0x49a2e3
mov ecx, dword [esi + 0x20]
mov dword [ecx + 0x13c], 1
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x499739
cmp dword [esi + 0xc], 0
je 0x49970e
test esi, esi
je 0x49a2e3
mov eax, dword [esi + 0x20]
mov dword [0x4ca4e0], eax
mov dword [eax + 0x13c], 1
mov edx, dword [esi + 0x24]
mov ecx, dword [edx + 0x2c]
mov dword [0x4ea984], ecx
xor eax, eax
mov dword [0x4ea58c], eax
xor edx, edx
mov dword [0x4ea590], edx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0xc], 2
jne 0x499934
mov eax, dword [esi + 0x24]
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je 0x49979a
push 0x4e8a00
call fcn.004c4ccc
pop ecx
cmp ebx, eax
jne 0x49a1f2
mov eax, dword [esi + 0x24]
mov edx, dword [eax]
push esi
mov edi, edx
mov esi, 0x4e9b23
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 esi
mov edi, 0x4e9b23
jmp 0x4997cd
inc edi
cmp byte [edi], 0x20
je 0x4997cc
cmp byte [edi], 0
je 0x49a1f2
add edi, 4
jmp 0x4997e1
inc edi
cmp byte [edi], 0x20
je 0x4997e0
cmp byte [edi], 0
je 0x49a1f2
push edi
call fcn.00496174
mov ebx, eax
test ebx, ebx
jne 0x499803
mov ebx, 0x4d2836
jmp 0x499803
inc edi
cmp byte [edi], 0x20
je 0x499802
cmp byte [edi], 0x26
jne 0x49981b
cmp dword [0x4d2630], 0
jne 0x49a1f2
inc edi
cmp byte [edi], 0
je 0x49a1f2
cmp byte [edi], 0x25
jne 0x499841
push 0x4e973c
push edi
call fcn.004b53a4
test eax, eax
je 0x49a1f2
mov edi, 0x4e973c
cmp byte [edi], 0x2a
jne 0x49984c
cmp byte [edi + 1], 0
je 0x499864
push edi
call fcn.004c4ccc
pop ecx
push eax
push 0x4e8a00
call fcn.004c4ccc
pop ecx
pop edx
cmp edx, eax
jne 0x4998b6
push esi
mov esi, 0x4e923c
mov edi, ebx
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 esi
push 0x4e8e4b
mov eax, dword [ebp + 0xc]
push eax
push 0x4e923c
call fcn.00496664
cmp byte [0x4e9fb0], 0
je 0x49a1f2
mov dword [ebp - 0x14], 1
jmp 0x49a1f2
xor edx, edx
mov dl, byte [0x4e8a00]
test byte [edx*2 + str.________________________________H], 4
jne 0x49a1f2
push 0x4e8a00
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x49a1f2
push esi
mov esi, 0x4e923c
mov edi, ebx
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 esi
push 0x4e8e4b
mov eax, dword [ebp + 0xc]
push eax
push 0x4e923c
call fcn.00496664
cmp byte [0x4e9fb0], 0
je 0x49a1f2
mov dword [ebp - 0x14], 1
jmp 0x49a1f2
cmp dword [ebp + 0xc], 1
jne 0x49998b
mov edx, dword [esi + 0x24]
mov ecx, dword [edx]
push esi
mov edi, ecx
mov esi, 0x4e9b23
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 esi
mov dword [ebp - 0xc], 0x4e9b23
jmp 0x499971
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x20
je 0x49996e
mov edx, dword [ebp - 0xc]
cmp byte [edx], 0
je 0x49a1f2
add dword [ebp - 0xc], 5
jmp 0x4999ee
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp + 0x10]
jne 0x49a1f2
mov edx, dword [esi + 0x24]
mov ecx, dword [edx]
push esi
mov edi, ecx
mov esi, 0x4e9b23
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 esi
mov dword [ebp - 0xc], 0x4e9b23
jmp 0x4999d1
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x20
je 0x4999ce
mov edx, dword [ebp - 0xc]
cmp byte [edx], 0
je 0x49a1f2
add dword [ebp - 0xc], 3
jmp 0x4999ee
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp byte [ecx], 0x20
je 0x4999eb
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
je 0x49a1f2
mov edx, dword [ebp - 0xc]
cmp byte [edx], 0x6d
je 0x499a12
mov ecx, dword [ebp - 0xc]
cmp byte [ecx], 0x4d
jne 0x499a71
push 3
push 0x4d283f
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bd07c
add esp, 0xc
test eax, eax
jne 0x499a71
mov edx, dword [0x4d17b0]
shl edx, 2
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
add edx, 0x4d16e8
push edx
push 0x4e8de7
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x49a1f2
add dword [ebp - 0xc], 3
jmp 0x499a5d
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp byte [ecx], 0x20
je 0x499a5a
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
je 0x49a1f2
push 0x3a
mov edx, dword [ebp - 0xc]
push edx
call fcn.004bce0c
add esp, 8
mov edi, eax
test edi, edi
je 0x49a1f2
mov byte [edi], 0
inc edi
jmp 0x499a90
inc edi
cmp byte [edi], 0x20
je 0x499a8f
cmp byte [edi], 0
je 0x49a1f2
cmp byte [0x4e9f10], 0
je 0x499bea
cmp byte [0x4e9f38], 0
je 0x499bea
xor eax, eax
mov al, byte [0x4e9f10]
test byte [eax*2 + str.________________________________H], 4
je 0x499bea
xor edx, edx
mov dl, byte [0x4e9f38]
test byte [edx*2 + str.________________________________H], 4
je 0x499bea
push 0x4e9f10
call fcn.004c4ccc
pop ecx
mov dword [0x4e89e4], eax
push 0x4e9f38
call fcn.004c4ccc
pop ecx
mov dword [0x4e89e8], eax
push 0x3e
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499b7a
push 0x3d
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499b3e
mov edx, dword [0x4e89e8]
cmp edx, dword [0x4e89e4]
jg 0x49a1f2
jmp 0x499bea
push 0x3c
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499b66
mov eax, dword [0x4e89e8]
cmp eax, dword [0x4e89e4]
je 0x49a1f2
jmp 0x499bea
mov edx, dword [0x4e89e8]
cmp edx, dword [0x4e89e4]
jge 0x49a1f2
jmp 0x499bea
push 0x3c
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499bc6
push 0x3d
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499bb2
mov edx, dword [0x4e89e8]
cmp edx, dword [0x4e89e4]
jl 0x49a1f2
jmp 0x499bea
mov ecx, dword [0x4e89e8]
cmp ecx, dword [0x4e89e4]
jle 0x49a1f2
jmp 0x499bea
push 0x3d
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499bea
mov edx, dword [0x4e89e8]
cmp edx, dword [0x4e89e4]
jne 0x49a1f2
push 0x26
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499c09
cmp dword [0x4d2630], 0
jne 0x49a1f2
push 0x2b
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499c22
mov dword [ebp - 0x1c], 1
push 0x40
mov edx, dword [ebp - 0xc]
push edx
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499c3e
mov dword [0x4ea590], 1
push 0x21
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499c5a
mov dword [0x4ea58c], 1
mov byte [0x4e9f88], 0
mov ebx, dword [ebp - 0xc]
jmp 0x499cd7
mov al, byte [ebx]
cmp al, 0x26
je 0x499cd6
cmp al, 0x2b
je 0x499cd6
cmp al, 0x40
je 0x499cd6
cmp al, 0x21
je 0x499cd6
cmp al, 0x2a
je 0x499cd6
cmp al, 0x5e
je 0x499cd6
cmp al, 0x20
je 0x499cd6
push ebx
call fcn.004bceac
pop ecx
cmp eax, 0xf
jbe 0x499c94
mov byte [ebx + 0xf], 0
push esi
push edi
mov esi, 0x4e9f88
mov edi, ebx
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
push 0x4e9f88
call fcn.004bce0c
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x499ce0
mov byte [ebx], 0
jmp 0x499ce0
inc ebx
cmp byte [ebx], 0
je 0x499ce0
cmp edi, ebx
ja 0x499c66
cmp byte [0x4e9fb0], 0
jne 0x499d24
push 0x2a
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x499d24
push esi
push edi
mov esi, 0x4d2844
mov edi, 0x4e9f88
mov eax, edi
movsw word es:[edi], word [esi]
pop edi
pop esi
push esi
push edi
mov esi, 0x4d2847
mov edi, 0x4e9f38
mov eax, edi
movsw word es:[edi], word [esi]
pop edi
pop esi
jmp 0x499f13
cmp byte [0x4e9f88], 0
je 0x49a1f2
mov ebx, 0x4e962d
push ebx
call fcn.004bceac
pop ecx
add eax, ebx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor edx, edx
mov dword [ebp - 0x24], edx
jmp 0x499d4f
inc ebx
cmp byte [ebx], 0x20
je 0x499d4e
cmp byte [ebx], 0
je 0x499f09
jmp 0x499d78
cmp al, 0x3d
jne 0x499d6c
mov dword [ebp - 0x20], 1
jmp 0x499d77
cmp al, 0x2b
jne 0x499d7e
mov dword [ebp - 0x1c], 1
inc ebx
mov al, byte [ebx]
test al, al
jne 0x499d5f
cmp byte [ebx], 0
je 0x499f09
push 0x2c
push ebx
call fcn.004bce0c
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x499da1
mov edx, dword [ebp - 4]
mov byte [edx], 0
push esi
push edi
mov esi, 0x4e9f38
mov edi, ebx
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 [0x4e9f88]
test byte [eax*2 + str.________________________________H], 4
je 0x499eaa
xor edx, edx
mov dl, byte [0x4e9f38]
test byte [edx*2 + str.________________________________H], 4
je 0x499ee3
push 0x4e9f38
call fcn.004c4ccc
pop ecx
mov dword [0x4e89ec], eax
push 0x4e9f88
call fcn.004c4ccc
pop ecx
mov dword [0x4e89f0], eax
cmp byte [0x4e9fb0], 0
je 0x499e2f
push 0x4e9fb0
call fcn.004c4ccc
pop ecx
mov dword [0x4e89f4], eax
jmp 0x499e37
xor ecx, ecx
mov dword [0x4e89f4], ecx
cmp dword [ebp - 0x1c], 0
je 0x499e4e
mov eax, dword [0x4e89ec]
cmp eax, dword [0x4e89f0]
jne 0x499ee3
mov eax, dword [0x4e89f0]
cmp eax, dword [0x4e89f4]
jle 0x499ee3
cmp dword [ebp - 0x20], 0
je 0x499e85
cmp eax, dword [0x4e89ec]
jne 0x499ee3
cmp dword [ebp - 4], 0
je 0x499e79
mov edx, dword [ebp - 4]
mov byte [edx], 0x2c
mov dword [ebp - 0x24], 1
jmp 0x499f09
mov ecx, dword [0x4e89ec]
cmp ecx, dword [0x4e89f0]
jl 0x499ee3
cmp dword [ebp - 4], 0
je 0x499e9f
mov eax, dword [ebp - 4]
mov byte [eax], 0x2c
mov dword [ebp - 0x24], 1
jmp 0x499f09
xor edx, edx
mov dl, byte [0x4e9f38]
test byte [edx*2 + str.________________________________H], 4
jne 0x499ee3
push ebx
push 0x4e9f88
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x499ee3
cmp dword [ebp - 4], 0
je 0x499eda
mov ecx, dword [ebp - 4]
mov byte [ecx], 0x2c
mov dword [ebp - 0x24], 1
jmp 0x499f09
cmp dword [ebp - 4], 0
je 0x499f09
mov eax, dword [ebp - 4]
mov byte [eax], 0x2c
mov ebx, dword [ebp - 4]
inc ebx
cmp byte [ebx], 0
je 0x499f09
cmp ebx, dword [ebp - 8]
jae 0x499f09
mov dword [ebp - 0x20], 1
jmp 0x499d4f
cmp dword [ebp - 0x24], 0
je 0x49a1f2
push edi
call fcn.00496174
mov ebx, eax
test ebx, ebx
jne 0x499f24
mov ebx, str._return
cmp dword [ebp + 0xc], 1
jne 0x49a17a
cmp byte [edi], 0x25
jne 0x499f4b
push 0x4e973c
push edi
call fcn.004b53a4
test eax, eax
je 0x49a1f2
mov edi, 0x4e973c
cmp byte [edi], 0x2a
jne 0x499fbe
cmp byte [edi + 1], 0
jne 0x499fbe
push esi
mov esi, 0x4e923c
mov edi, ebx
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 esi
push 0x4e8e4b
mov eax, dword [ebp + 0xc]
push eax
push 0x4e923c
call fcn.00496664
cmp byte [0x4e9fb0], 0
je 0x49a1f2
xor edx, edx
mov dl, byte [0x4e9fb0]
test byte [edx*2 + str.________________________________H], 4
jne 0x49a1f2
mov dword [ebp - 0x14], 1
jmp 0x49a1f2
push 0x2a
push edi
call fcn.004bce0c
add esp, 8
test eax, eax
jne 0x499fe0
push 0x3f
push edi
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x49a08e
push 0x4e8a00
push edi
call fcn.004b59d8
test eax, eax
je 0x49a08e
push esi
mov esi, 0x4e923c
mov edi, ebx
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 esi
push 0x4e8e4b
mov eax, dword [ebp + 0xc]
push eax
push 0x4e923c
call fcn.00496664
cmp byte [0x4e9fb0], 0
je 0x49a04e
xor edx, edx
mov dl, byte [0x4e9fb0]
test byte [edx*2 + str.________________________________H], 4
jne 0x49a04e
mov dword [ebp - 0x14], 1
mov ecx, dword [0x4ea980]
cmp ecx, dword [0x4ea984]
jne 0x49a1f2
push esi
mov esi, 0x4e9fd8
mov edi, 0x4e923c
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 esi
jmp 0x49a1f2
push edi
call fcn.004bceac
pop ecx
mov dword [ebp - 0x18], eax
push 0x4e8a00
call fcn.004bceac
pop ecx
cmp eax, dword [ebp - 0x18]
jb 0x49a1f2
mov eax, dword [ebp - 0x18]
push eax
push 0x4e8a00
push edi
call fcn.004bd07c
add esp, 0xc
test eax, eax
jne 0x49a1f2
mov edx, dword [ebp - 0x18]
cmp byte [edx + 0x4e8a00], 0
je 0x49a0e2
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0x4e8a00], 0x20
jne 0x49a1f2
push esi
mov esi, 0x4e923c
mov edi, ebx
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 esi
push 0x4e8e4b
mov eax, dword [ebp + 0xc]
push eax
push 0x4e923c
call fcn.00496664
cmp byte [0x4e9fb0], 0
je 0x49a13d
xor edx, edx
mov dl, byte [0x4e9fb0]
test byte [edx*2 + str.________________________________H], 4
jne 0x49a13d
mov dword [ebp - 0x14], 1
mov ecx, dword [0x4ea980]
cmp ecx, dword [0x4ea984]
jne 0x49a1f2
push esi
mov esi, 0x4e9fd8
mov edi, 0x4e923c
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 esi
jmp 0x49a1f2
cmp byte [edi], 0x2a
jne 0x49a185
cmp byte [edi + 1], 0
je 0x49a197
push 0x4e8a00
push edi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x49a1f2
push esi
mov esi, 0x4e923c
mov edi, ebx
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 esi
push 0x4e8e4b
mov eax, dword [ebp + 0xc]
push eax
push 0x4e923c
call fcn.00496664
cmp byte [0x4e9fb0], 0
je 0x49a1f2
xor edx, edx
mov dl, byte [0x4e9fb0]
test byte [edx*2 + str.________________________________H], 4
jne 0x49a1f2
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 0
je 0x49a231
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00499430
cmp dword [0x4d2634], 0
jne 0x499677
mov eax, dword [0x4ca4e0]
push eax
call fcn.0049bccc
test eax, eax
je 0x499677
mov esi, dword [esi + 0x28]
test esi, esi
je 0x49a2e3
jmp 0x499691
cmp dword [esi + 0x2c], 0
jne 0x49a252
cmp byte [0x4e9fb0], 0
je 0x49a2e3
mov edx, dword [ebp + 0xc]
push edx
call fcn.00499430
jmp 0x49a2e3
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x20]
cmp eax, dword [0x4ca4e0]
je 0x49a269
cmp byte [0x4e9fb0], 0
jne 0x49a1f8
cmp dword [0x4ea588], 0
jne 0x49a28b
cmp byte [0x4e9fb0], 0
jne 0x49a1f8
mov esi, dword [esi + 0x28]
test esi, esi
je 0x49a2e3
jmp 0x499691
mov esi, dword [esi + 0x2c]
jmp 0x49a2d1
cmp dword [esi + 0x2c], 0
jne 0x49a2aa
cmp byte [0x4e9fb0], 0
je 0x49a2e3
mov edx, dword [ebp + 0xc]
push edx
call fcn.00499430
jmp 0x49a2e3
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 0x20]
mov eax, dword [esi + 0x20]
cmp edx, eax
je 0x49a2ce
mov dword [eax + 0x13c], 1
cmp byte [0x4e9fb0], 0
jne 0x49a1f8
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x49a2db
cmp dword [esi + 0xc], 0
je 0x49a290
test esi, esi
jne 0x499741
mov ecx, dword [ebp - 0x10]
mov dword [0x4ca4e0], ecx
cmp dword [0x4ca4e0], 0
je 0x49a30c
mov eax, dword [0x4ca4e0]
push eax
call fcn.0049bccc
test eax, eax
jne 0x49a30c
xor edx, edx
mov dword [0x4ca4e0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc