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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov ecx, edx
mov edi, edx
mov esi, dword [eax]
call fcn.00783170
cmp byte [0xbb32f6], 0
mov ebp, eax
setne al
cmp ebp, 5
jl 0x837d3d
mov ecx, esi
and ecx, 0x40
shr ecx, 6
or cl, al
je 0x837d3d
mov eax, fcn.007a8280
mov edx, 3
movzx ebx, byte [0xbbb32f]
sub edx, eax
xor eax, eax
mov ecx, edx
xor ecx, fcn.007a8280
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt ebx, eax
jb 0x836dbc
mov al, byte [0xbbb32f]
mov dword [esp + 4], esi
mov esi, edx
xor ebx, ebx
mov ah, 1
xor esi, fcn.007a8280
sete bl
mov ecx, ebx
xor ecx, 1
lea ecx, [ebx + ecx*2 + 6]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb32f], ah
jne 0x836c7f
mov edx, fcn.007a8280
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov esi, ecx
xor esi, fcn.007a8280
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 6]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x836d0e
mov esi, dword [esp + 4]
mov edx, ecx
xor eax, eax
movzx ebx, byte [0xbbb32f]
xor edx, fcn.007a8280
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 6]
and al, 7
movzx eax, al
bt ebx, eax
jae 0x836ce2
jmp 0x836dbc
xor eax, eax
xor ecx, fcn.007a8280
movzx edx, byte [0xbbb32f]
mov esi, dword [esp + 4]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x836d8c
mov eax, fcn.007a8280
mov ecx, 3
mov ebx, dword [0xbbb324]
sub ecx, eax
xor eax, eax
xor ecx, fcn.007a8280
sete al
mov ecx, eax
not ecx
and ecx, 0xc1
lea ecx, [eax + ecx*2 - 0x3b4fa2c2]
mov edx, ecx
xor ebx, ecx
shr edx, 0x1f
mov dword [0xbbb324], ebx
not ebx
or edx, ecx
and cl, 7
imul edx, ebx
xor dword [0xbbb328], edx
mov dl, 1
shl dl, cl
or byte [0xbbb32f], dl
mov eax, fcn.007a8280
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007a8280
sete al
mov ecx, eax
xor ecx, 1
lea ecx, [eax + ecx*2 + 6]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbbb32f], al
mov cl, byte [edi + 4]
mov eax, dword [edi]
xor cl, byte [0xbbb328]
xor eax, dword [0xbbb324]
movzx ecx, cl
or ecx, eax
jne 0x837d3d
lea eax, [ebp + 2]
xor edx, edx
mov ecx, eax
sar ecx, 0x1f
xor ebx, ebx
cmp byte [edi + edx], 0x26
sete bl
add eax, ebx
adc ecx, 0
inc edx
cmp edx, ebp
jne 0x836de2
push ecx
push eax
call fcn.00780f30
add esp, 8
test eax, eax
jne 0x836e0d
mov esi, 7
jmp 0x837f9b
or esi, 0x40
cmp byte [edi + 5], 0x2f
mov ebx, 5
mov dword [esp], eax
mov dword [esp + 4], esi
je 0x836ed5
xor ebp, ebp
mov dword [esp + 0xc], 0
mov esi, ebx
mov al, byte [edi + esi]
test al, al
je 0x837372
cmp al, 0x23
je 0x837372
lea ebx, [esi + 1]
cmp al, 0x25
jne 0x8372df
movzx ecx, byte [edi + ebx]
test byte [ecx + 0xb4bd18], 8
je 0x8372df
movzx edx, byte [edi + esi + 2]
test byte [edx + 0xb4bd18], 8
je 0x8372df
movsx ecx, cl
movsx eax, dl
mov dword [esp + 0x20], eax
call fcn.007cb0d0
mov ecx, dword [esp + 0x20]
movzx ebx, al
add esi, 3
shl ebx, 4
call fcn.007cb0d0
movzx eax, al
add eax, ebx
jne 0x8372d4
movzx eax, byte [edi + esi]
test al, al
je 0x836e32
cmp al, 0x23
je 0x836e32
test ebp, ebp
jne 0x836eb7
cmp al, 0x3f
je 0x836e32
cmp ebp, 1
jne 0x8372c1
cmp al, 0x26
je 0x836e32
cmp al, 0x3d
je 0x836e32
jmp 0x8372ce
cmp byte [edi + 6], 0x2f
jne 0x836e26
mov ebx, 7
movzx eax, byte [edi + ebx]
test al, al
je 0x836ef3
cmp al, 0x2f
je 0x836ef3
inc ebx
jmp 0x836ee4
cmp ebx, 7
je 0x836e26
cmp ebx, 0x10
jne 0x8370a1
mov eax, fcn.00846220
mov ebp, 3
movzx edx, byte [0xbbb33f]
sub ebp, eax
xor eax, eax
mov ecx, ebp
xor ecx, fcn.00846220
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x837080
mov al, byte [0xbbb33f]
mov esi, ebp
xor edx, edx
xor esi, fcn.00846220
sete dl
mov ecx, edx
xor ecx, 1
lea ecx, [ecx + edx*2]
mov dl, 1
or cl, 4
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbbb33f], dl
jne 0x836f40
mov edx, fcn.00846220
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov esi, ecx
xor esi, fcn.00846220
sete dl
mov esi, edx
xor edx, 1
lea edx, [edx + esi*2]
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x836fc8
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbbb33f]
xor edx, fcn.00846220
sete al
mov edx, eax
xor edx, 1
lea eax, [edx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jae 0x836f9d
jmp 0x837080
xor eax, eax
xor ecx, fcn.00846220
movzx edx, byte [0xbbb33f]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x837051
mov eax, fcn.00846220
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.00846220
sete al
mov ecx, eax
xor ecx, 0x4819a3b9
lea ecx, [ecx + eax*2 + 0x1004]
mov eax, dword [0xbbb330]
xor eax, ecx
mov dword [0xbbb330], eax
not eax
mov edx, dword [0xbbb334]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbbb334], edx
or eax, esi
not edx
imul edx, eax
xor dword [0xbbb338], edx
mov dl, 1
shl dl, cl
or byte [0xbbb33f], dl
mov eax, fcn.00846220
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.00846220
sete al
mov ecx, eax
xor ecx, 1
lea ecx, [ecx + eax*2]
mov al, 0xfe
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbbb33f], al
lea eax, [edi + 7]
push 9
push eax
push 0xbbb330
call fcn.0098ad00
add esp, 0xc
test eax, eax
jne 0x8370a1
mov ebx, 0x10
jmp 0x836e26
mov edx, fcn.0083fac0
xor eax, eax
movzx esi, byte [0xbbb363]
and edx, 1
inc edx
mov ecx, edx
xor ecx, fcn.0083fac0
sete al
mov ecx, eax
xor ecx, 3
lea eax, [eax + ecx*2]
bt esi, eax
jb 0x83729b
mov al, byte [0xbbb363]
mov esi, edx
xor ecx, ecx
mov ah, 1
xor esi, fcn.0083fac0
sete cl
mov esi, ecx
not esi
and esi, 3
lea ecx, [ecx + esi*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb363], ah
jne 0x8370d4
mov ecx, fcn.0083fac0
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov esi, ecx
xor esi, fcn.0083fac0
sete dl
mov esi, edx
not esi
and esi, 3
lea edx, [edx + esi*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x837152
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbbb363]
xor edx, fcn.0083fac0
sete al
mov edx, eax
xor edx, 3
lea eax, [eax + edx*2]
bt esi, eax
jae 0x83712c
jmp 0x83729b
xor eax, eax
xor ecx, fcn.0083fac0
movzx edx, byte [0xbbb363]
sete al
mov ecx, eax
xor ecx, 3
lea eax, [eax + ecx*2]
bt edx, eax
jb 0x837270
mov ecx, fcn.0083fac0
xor eax, eax
and ecx, 1
inc ecx
xor ecx, fcn.0083fac0
sete al
mov ecx, eax
not ecx
and ecx, 3
lea edx, [eax + ecx*2]
lea ecx, [eax + ecx*2 - 0x512f0008]
mov eax, dword [0xbbb340]
or edx, 0xaed0fff9
xor eax, ecx
and cl, 7
mov dword [0xbbb340], eax
not eax
imul edx, eax
mov eax, dword [0xbbb344]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbb344], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbbb348]
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbb348], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [str.s_p]
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [str.s_p], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbbb350]
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbbb350], edx
or eax, esi
not edx
mov ebp, dword [str._.]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebp, edx
shr edx, 0x1a
mov dword [str._.], ebp
or edx, esi
not ebp
imul ebp, edx
mov edx, dword [0xbbb358]
mov esi, ebp
shl esi, 6
xor edx, ebp
shr ebp, 0x19
mov dword [0xbbb358], edx
or ebp, esi
not edx
imul edx, ebp
xor dword [0xbbb35c], edx
mov dl, 1
shl dl, cl
or byte [0xbbb363], dl
mov ecx, fcn.0083fac0
xor eax, eax
and ecx, 1
inc ecx
xor ecx, fcn.0083fac0
sete al
mov ecx, eax
not ecx
and ecx, 3
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbbb363], al
add edi, 7
add ebx, 0xfffffff9
mov esi, 1
push edi
push ebx
push 0xbbb340
call fcn.00783360
add esp, 0xc
mov edi, dword [esp + 0x54]
mov ebx, dword [esp]
jmp 0x837f7e
cmp ebp, 2
jne 0x8372ce
cmp al, 0x26
je 0x836e32
inc esi
jmp 0x836e9f
mov edx, dword [esp + 0xc]
mov ebx, esi
jmp 0x837362
mov edx, dword [esp + 0xc]
cmp ebp, 1
je 0x8372fc
test ebp, ebp
je 0x837355
cmp ebp, 2
jne 0x837362
mov ebp, 2
cmp al, 0x26
je 0x83735b
jmp 0x837362
cmp al, 0x3d
je 0x83730b
cmp al, 0x26
je 0x83730b
mov ebp, 1
jmp 0x837362
mov ecx, dword [esp]
cmp byte [ecx + edx - 1], 0
jne 0x837339
mov esi, ebx
movzx eax, byte [edi + esi]
test al, al
je 0x836e32
cmp al, 0x23
je 0x836e32
cmp byte [edi + esi - 1], 0x26
je 0x836e32
inc esi
jmp 0x837317
cmp al, 0x26
je 0x837344
mov ebp, 2
jmp 0x837360
mov eax, dword [esp]
mov ebp, 1
mov byte [eax + edx], 0
inc edx
xor eax, eax
jmp 0x837362
xor ebp, ebp
cmp al, 0x3f
jne 0x837362
mov ebp, 1
xor eax, eax
mov ecx, dword [esp]
mov byte [ecx + edx], al
inc edx
mov dword [esp + 0xc], edx
jmp 0x836e30
cmp ebp, 1
je 0x837384
mov ebx, dword [esp]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
jmp 0x837394
mov ebx, dword [esp]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov byte [ebx + eax], 0
inc eax
mov ecx, ebx
mov word [ebx + eax], 0
call fcn.00783170
cmp byte [ebx + eax + 1], 0
je 0x837d7f
mov ecx, 0x7a2ed0
mov edx, fcn.008219d0
lea edi, [ebx + eax + 1]
not ecx
not edx
and ecx, 1
and edx, 1
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov ecx, edi
call fcn.00783170
lea ecx, [edi + eax + 1]
mov ebx, eax
mov dword [esp + 0x10], ecx
call fcn.00783170
cmp ebx, 5
mov dword [esp + 0x1c], eax
je 0x83751a
cmp ebx, 4
je 0x8376a1
cmp ebx, 3
je 0x837405
mov ebx, dword [esp]
jmp 0x837d24
mov edx, fcn.00794610
movzx ecx, byte [0xbbb36f]
mov ebx, dword [esp]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x8374ee
mov al, byte [0xbbb36f]
cmp edx, 2
mov ah, 1
sete cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb36f], ah
jne 0x837433
cmp edx, 2
movzx eax, al
sete cl
or cl, 6
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x83747f
cmp edx, 2
movzx ecx, byte [0xbbb36f]
sete al
or al, 6
movzx eax, al
bt ecx, eax
jae 0x837466
jmp 0x8374ee
cmp edx, 2
movzx ecx, byte [0xbbb36f]
sete al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x8374d8
xor ecx, ecx
cmp edx, 2
mov eax, dword [0xbbb364]
mov ebx, dword [esp]
sete cl
or ecx, 0x9436c1a6
add ecx, 0xc30
mov esi, ecx
xor eax, ecx
shr esi, 0x1f
mov dword [0xbbb364], eax
not eax
or esi, ecx
and cl, 7
imul esi, eax
mov ah, 1
xor dword [0xbbb368], esi
shl ah, cl
or byte [0xbbb36f], ah
cmp edx, 2
mov al, 0xfe
sete cl
or cl, 6
xor cl, 7
rol al, cl
and byte [0xbbb36f], al
mov cl, byte [0xbbb366]
movzx eax, word [0xbbb364]
xor cl, byte [edi + 2]
xor ax, word [edi]
movzx ecx, cl
or cx, ax
jne 0x837d24
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jmp 0x837d24
mov esi, dword [esp + 0x30]
xor eax, eax
movzx edx, byte [0xbbb37b]
mov ebx, dword [esp]
mov ecx, esi
add ecx, 0x7a2ed0
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x837661
mov al, byte [0xbbb37b]
mov edx, esi
xor ecx, ecx
add edx, 0x7a2ed0
sete cl
mov edx, ecx
xor edx, 5
lea ecx, [edx + ecx*2 + 4]
mov dl, 1
and cl, 7
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbbb37b], dl
jne 0x837551
mov edx, esi
xor ecx, ecx
movzx eax, al
add edx, 0x7a2ed0
sete cl
mov edx, ecx
xor edx, 5
lea ecx, [edx + ecx*2 + 4]
and cl, 7
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x8375d0
mov ecx, esi
xor eax, eax
movzx edx, byte [0xbbb37b]
add ecx, 0x7a2ed0
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jae 0x8375a4
jmp 0x837661
mov ecx, esi
xor eax, eax
movzx edx, byte [0xbbb37b]
add ecx, 0x7a2ed0
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x83763d
mov ecx, esi
xor eax, eax
mov ebp, dword [0xbbb370]
add ecx, 0x7a2ed0
sete al
mov ecx, eax
xor ecx, 0xd6c9d6e5
lea ecx, [ecx + eax*2 + 0x24]
mov edx, ecx
xor ebp, ecx
shr edx, 0x1f
mov dword [0xbbb370], ebp
not ebp
or edx, ecx
and cl, 7
imul edx, ebp
xor dword [0xbbb374], edx
mov dl, 1
shl dl, cl
or byte [0xbbb37b], dl
xor eax, eax
add esi, 0x7a2ed0
sete al
mov ecx, eax
xor ecx, 5
lea ecx, [ecx + eax*2 + 4]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbbb37b], al
mov cl, byte [0xbbb374]
mov eax, dword [0xbbb370]
xor cl, byte [edi + 4]
xor eax, dword [edi]
movzx ecx, cl
or ecx, eax
jne 0x837d24
mov dword [esp + 0x28], 0x60000
mov dword [esp + 0x24], 0xfff9ffff
mov dword [esp + 0x18], 0xbbb398
mov dword [esp + 0x14], 0xb507cc
jmp 0x8377c0
mov edx, 0x994ca0
mov eax, 0x994ca0
movzx ecx, byte [0xbbb3af]
mov ebx, dword [esp]
and edx, 1
xor edx, eax
cmp edx, 0xffffffff
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x83778e
mov al, byte [0xbbb3af]
cmp edx, 0xffffffff
mov ah, 1
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb3af], ah
jne 0x8376d3
cmp edx, 0xffffffff
movzx eax, al
sete cl
or cl, 4
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x83771f
cmp edx, 0xffffffff
movzx ecx, byte [0xbbb3af]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jae 0x837706
jmp 0x83778e
cmp edx, 0xffffffff
movzx ecx, byte [0xbbb3af]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x837778
xor ecx, ecx
cmp edx, 0xffffffff
mov eax, dword [0xbbb3a4]
mov ebx, dword [esp]
sete cl
or ecx, 0xc2dcc150
add ecx, 0xd14
mov esi, ecx
xor eax, ecx
shr esi, 0x1f
mov dword [0xbbb3a4], eax
not eax
or esi, ecx
and cl, 7
imul esi, eax
mov ah, 1
xor dword [0xbbb3a8], esi
shl ah, cl
or byte [0xbbb3af], ah
cmp edx, 0xffffffff
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbbb3af], al
mov eax, dword [0xbbb3a4]
cmp eax, dword [edi]
jne 0x837d24
mov eax, dword [esp + 4]
mov dword [esp + 0x24], 0xffffff78
mov dword [esp + 0x18], 0xbbb3d8
mov dword [esp + 0x14], 0xb507e4
and eax, 0x87
mov dword [esp + 0x28], eax
xor ebx, ebx
mov ecx, dword [esp + 0x34]
xor eax, eax
mov edi, dword [ebx*4 + 0xb57750]
mov esi, dword [ebx*4 + 0xb57770]
mov dword [esp + 0x3c], ebx
add ecx, fcn.008219d0
sete al
mov ecx, eax
not ecx
and ecx, 0x201
lea edx, [eax + ecx*2 - 0xf093346]
mov eax, 1
xor edx, dword [ebx*4 + 0xb57790]
mov ebx, 1
mov ecx, edx
and cl, 7
shl eax, cl
movzx ebp, cl
xor cl, 7
shl ebx, cl
movzx ecx, byte [edi + esi - 1]
bt ecx, ebp
jb 0x8378ab
mov dword [esp + 0x2c], eax
mov al, byte [edi + esi - 1]
mov ecx, eax
or cl, bl
lock cmpxchg byte [edi + esi - 1], cl
jne 0x83782a
mov ecx, dword [esp + 0x2c]
movzx eax, al
test ebx, eax
je 0x83784c
movzx eax, byte [edi + esi - 1]
test ecx, eax
je 0x837841
jmp 0x8378ab
movzx eax, byte [edi + esi - 1]
test ecx, eax
jne 0x8378a5
lea ecx, [esi - 4]
shr ecx, 2
je 0x83789d
xor eax, eax
mov ebp, edi
mov dword [esp + 0x38], ecx
mov ecx, ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [ebp]
mov dword [esp + 0xc], edx
xor ebp, edx
mov dword [ecx], ebp
mov ecx, eax
not ebp
inc eax
shl dword [esp + 0xc], cl
and cl, 0x1f
xor cl, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x38]
or edx, dword [esp + 0xc]
imul edx, ebp
mov ebp, dword [esp + 0x20]
add ebp, 4
cmp eax, ecx
jne 0x837865
mov eax, dword [esp + 0x2c]
or byte [edi + esi - 1], al
not bl
and byte [edi + esi - 1], bl
mov ebx, dword [esp + 0x3c]
inc ebx
cmp ebx, 8
jne 0x8377c2
mov eax, dword [esp + 0x14]
mov ebx, dword [esp]
xor esi, esi
mov edi, dword [eax]
test edi, edi
je 0x837909
mov ecx, edi
call fcn.00783170
cmp dword [esp + 0x1c], eax
jne 0x8378ea
push dword [esp + 0x1c]
push edi
push dword [esp + 0x18]
call fcn.0098ad00
add esp, 0xc
test eax, eax
je 0x8378f9
mov eax, dword [esp + 0x14]
mov edi, dword [eax + esi*8 + 8]
inc esi
test edi, edi
jne 0x8378c8
jmp 0x837909
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*8 + 4]
test eax, eax
jne 0x837af5
mov eax, fcn.007a84a0
mov edx, 3
movzx esi, byte [0xbbb40b]
mov edi, dword [esp + 0x54]
sub edx, eax
xor eax, eax
mov ecx, edx
xor ecx, fcn.007a84a0
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt esi, eax
jb 0x837ad6
mov al, byte [0xbbb40b]
mov esi, edx
xor ecx, ecx
mov ah, 1
xor esi, fcn.007a84a0
sete cl
mov ebx, ecx
xor ebx, 5
lea ecx, [ebx + ecx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb40b], ah
jne 0x837943
mov edx, fcn.007a84a0
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov esi, ecx
xor esi, fcn.007a84a0
sete dl
mov ebx, edx
xor ebx, 5
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x8379c3
mov ebx, dword [esp]
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbbb40b]
xor edx, fcn.007a84a0
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt esi, eax
jae 0x83799d
jmp 0x837ad6
xor eax, eax
xor ecx, fcn.007a84a0
movzx edx, byte [0xbbb40b]
mov ebx, dword [esp]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x837aaa
mov eax, fcn.007a84a0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007a84a0
sete al
mov edx, eax
xor edx, 0x7663e235
lea ecx, [edx + eax*2]
lea eax, [edx + eax*2 + 0x900]
mov edx, dword [0xbbb3f0]
and cl, 7
xor edx, eax
mov dword [0xbbb3f0], edx
not edx
imul edx, eax
mov eax, dword [0xbbb3f4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbb3f4], eax
or esi, edx
not eax
mov edx, dword [0xbbb3f8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbb3f8], edx
or esi, eax
not edx
mov eax, dword [0xbbb3fc]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbbb3fc], eax
or esi, edx
not eax
mov edx, dword [0xbbb400]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbbb400], edx
or eax, esi
not edx
imul edx, eax
xor dword [0xbbb404], edx
mov dl, 1
shl dl, cl
or byte [0xbbb40b], dl
mov eax, fcn.007a84a0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007a84a0
sete al
mov ecx, eax
xor ecx, 5
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbbb40b], al
mov esi, 1
push dword [esp + 0x10]
push dword [esp + 0x1c]
push 0xbbb3f0
call fcn.00783360
add esp, 0xc
jmp 0x837f7e
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [esp + 0x28]
jle 0x837d16
mov ecx, sub.KERNEL32.dll_GetSystemTime
mov eax, 3
xor edx, edx
movzx edi, byte [0xbbb42f]
mov esi, 3
sub eax, ecx
xor eax, sub.KERNEL32.dll_GetSystemTime
sete dl
mov eax, edx
xor eax, 1
lea eax, [eax + edx*2]
bt edi, eax
jb 0x837cf8
mov al, byte [0xbbb42f]
mov edx, 3
sub edx, ecx
mov edi, edx
xor ecx, ecx
mov ah, 1
xor edi, sub.KERNEL32.dll_GetSystemTime
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ebx + ecx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb42f], ah
jne 0x837b46
mov edx, sub.KERNEL32.dll_GetSystemTime
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov edi, ecx
xor edi, sub.KERNEL32.dll_GetSystemTime
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x837bc6
mov ebx, dword [esp]
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbbb42f]
xor edx, sub.KERNEL32.dll_GetSystemTime
sete al
mov edx, eax
xor edx, 1
lea eax, [edx + eax*2]
bt edi, eax
jae 0x837ba0
jmp 0x837cf8
xor eax, eax
xor ecx, sub.KERNEL32.dll_GetSystemTime
movzx edx, byte [0xbbb42f]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x837cc9
mov eax, sub.KERNEL32.dll_GetSystemTime
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, sub.KERNEL32.dll_GetSystemTime
sete al
mov ecx, eax
xor ecx, 0xaf1adcd9
lea ecx, [ecx + eax*2 + 0x648]
mov eax, dword [0xbbb410]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbbb410], eax
not eax
imul edx, eax
mov eax, dword [0xbbb414]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbb414], eax
or edi, edx
not eax
mov edx, dword [0xbbb418]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbb418], edx
or edi, eax
not edx
mov eax, dword [0xbbb41c]
imul edx, edi
lea edi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbbb41c], eax
or edi, edx
not eax
mov edx, dword [0xbbb420]
imul eax, edi
mov edi, eax
shl edi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbbb420], edx
or eax, edi
not edx
mov ebx, dword [0xbbb424]
imul edx, eax
mov edi, edx
shl edi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbbb424], ebx
or edx, edi
not ebx
imul ebx, edx
mov dl, 1
xor dword [0xbbb428], ebx
shl dl, cl
or byte [0xbbb42f], dl
mov eax, sub.KERNEL32.dll_GetSystemTime
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, sub.KERNEL32.dll_GetSystemTime
sete al
mov ecx, eax
xor ecx, 1
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbbb42f], al
mov ebx, dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x1c]
push 0xbbb410
call fcn.00783360
add esp, 0xc
mov edi, dword [esp + 0x54]
jmp 0x837f7e
mov ecx, dword [esp + 0x24]
and ecx, dword [esp + 4]
or eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
cmp byte [eax + edx + 1], 0
lea edi, [eax + edx + 1]
jne 0x8373cc
jmp 0x837d7b
lea eax, [ebp + 2]
mov ecx, eax
sar ecx, 0x1f
push ecx
push eax
call fcn.00780f30
add esp, 8
test eax, eax
jne 0x837d5d
mov esi, 7
jmp 0x837f9b
mov ebx, eax
test ebp, ebp
je 0x837d6e
push ebp
push edi
push ebx
call fcn.0098a270
add esp, 0xc
and esi, 0xffffffbf
mov word [ebx + ebp], 0
mov dword [esp + 4], esi
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x58]
push edi
call fcn.00780850
add esp, 4
mov ebp, edi
mov edi, dword [esp + 0x54]
mov dword [esi], eax
xor esi, esi
test eax, eax
jne 0x837f8f
mov edx, fcn.0081fda0
xor eax, eax
movzx esi, byte [0xbbb447]
and edx, 1
inc edx
mov ecx, edx
xor ecx, fcn.0081fda0
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jb 0x837f6b
mov al, byte [0xbbb447]
mov dword [esp + 8], ebp
mov ebp, ebx
mov esi, edx
xor ecx, ecx
mov ah, 1
xor esi, fcn.0081fda0
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ecx + ebx*2 + 6]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb447], ah
jne 0x837ddd
mov ecx, fcn.0081fda0
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov esi, ecx
xor esi, fcn.0081fda0
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 6]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x837e6b
mov ebx, ebp
mov ebp, dword [esp + 8]
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbbb447]
xor edx, fcn.0081fda0
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jae 0x837e3f
jmp 0x837f6b
xor eax, eax
xor ecx, fcn.0081fda0
movzx edx, byte [0xbbb447]
mov ebx, ebp
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x837f3b
mov ecx, fcn.0081fda0
xor eax, eax
and ecx, 1
inc ecx
xor ecx, fcn.0081fda0
sete al
mov ecx, eax
not ecx
and ecx, 0x681
lea ecx, [eax + ecx*2 + 0x47ceb15e]
mov eax, dword [0xbbb430]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbbb430], eax
not eax
imul edx, eax
mov eax, dword [0xbbb434]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbb434], eax
or esi, edx
not eax
mov edx, dword [0xbbb438]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbb438], edx
or esi, eax
not edx
mov eax, dword [0xbbb43c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbbb43c], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
shl dl, cl
xor dword [0xbbb440], eax
or byte [0xbbb447], dl
mov eax, fcn.0081fda0
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.0081fda0
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [ecx + eax*2 + 6]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbbb447], al
mov ebp, dword [esp + 8]
mov esi, 1
push ebp
push 0xbbb430
call fcn.00783360
add esp, 8
mov ecx, dword [esp + 0x60]
mov dword [ecx], eax
push ebx
call fcn.00780f60
add esp, 4
xor ebx, ebx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax], ebx
mov eax, esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret