Function at 0x47a827
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x30
cmp dword [0x50ad2c], 0
push ebx
push ebp
push esi
push edi
mov edi, ecx
je 0x47a73b
mov eax, dword [0x50ad04]
mov dword [0x4f3338], 0
mov dword [0x50940c], 0
mov dword [eax + 0x108], 2
movss xmm0, dword [0x5099d0]
addss xmm0, dword [0x4ca598]
mov byte [esp + 0x38], 8
movss dword [0x5099d0], xmm0
mov eax, dword [edi + 0x2bc]
test eax, eax
mov ebx, dword [edi + 0x2b8]
cmovne ebx, eax
mov dword [esp + 0x18], ebx
cmp dword [ebx + 0x10c], 0xffffff9c
jg 0x47a78d
push 0xee0
push 0x4d1420
push str.theWindow__box.top____100
call fcn.004aa62c
add esp, 0xc
mov eax, dword [0x50accc]
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [eax + 0x298], 0
je 0x47a7f5
call esi
mov ecx, dword [edi + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x47a7f5
call esi
mov dword [edi + 0x23e8], eax
mov eax, dword [0x50accc]
mov eax, dword [eax + 0x208]
mov dword [esp + 0x39], eax
call fcn.004ad3e4
and eax, reloc.WS2_32.dll_closesocket
jns 0x47a7db
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, dword [0x509434]
lea edx, [esp + 0x38]
push 0
push 0
mov byte [esp + 0x45], al
mov eax, dword [ecx]
push edx
push 6
call dword [eax + 4]
mov ecx, dword [0x509420]
mov byte [esp + 0x30], 0x2a
call fcn.0043e450
mov ebp, eax
test ebp, ebp
je 0x47a9ab
nop
mov ecx, ebp
call fcn.004343e0
cmp eax, 6
ja case.default.0x47a820
jmp dword [eax*4 + 0x47b63c]
mov eax, dword [ebp + 0x12c]
mov ebx, dword [0x503e50]
mov edx, dword [0x5099e8]
cmp eax, 0x57
jne 0x47a877
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x47a851
test bl, bl
js 0x47a87c
mov ecx, dword [0x509388]
mov eax, dword [ebp + 0x12c]
cmp eax, 0x53
jne 0x47a891
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x47a8a3
test bl, bl
js 0x47a896
jmp 0x47a8a3
cmp eax, 0x26
jne 0x47a851
test edx, edx
jne 0x47a851
mov ecx, dword [0x509388]
or ecx, 1
mov dword [0x509388], ecx
jmp 0x47a857
cmp eax, 0x28
jne 0x47a8a3
test edx, edx
jne 0x47a8a3
or ecx, 2
mov dword [0x509388], ecx
mov eax, dword [ebp + 0x12c]
cmp eax, 0x44
jne 0x47a8c3
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x47a8d5
test bl, bl
js 0x47a8c8
jmp 0x47a8d5
cmp eax, 0x27
jne 0x47a8d5
test edx, edx
jne 0x47a8d5
or ecx, 4
mov dword [0x509388], ecx
mov eax, dword [ebp + 0x12c]
cmp eax, 0x41
jne 0x47a8f5
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x47a907
test bl, bl
js 0x47a8fa
jmp 0x47a907
cmp eax, 0x25
jne 0x47a907
test edx, edx
jne 0x47a907
or ecx, 8
mov dword [0x509388], ecx
cmp dword [ebp + 0x12c], 0x68
jne 0x47a919
or ecx, 0x40
mov dword [0x509388], ecx
cmp dword [ebp + 0x12c], 0x62
jne 0x47a92e
or ecx, 0x80
mov dword [0x509388], ecx
cmp dword [ebp + 0x12c], 0x10
jne 0x47a940
or edx, 1
mov dword [0x5099e8], edx
cmp dword [ebp + 0x12c], 0x11
jne 0x47a952
or edx, 2
mov dword [0x5099e8], edx
mov esi, dword [ebp + 0x12c]
movzx eax, si
mov ebx, eax
mov ecx, eax
cmp esi, 0x27
jne 0x47aaf9
mov esi, ebx
test dl, 1
je 0x47aade
mov eax, dword [esp + 0x18]
push ebx
push 0
push 0xb
mov eax, dword [eax]
mov ebx, dword [esp + 0x24]
mov ecx, ebx
call dword [eax + 0x28]
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
mov eax, dword [ebp]
mov ecx, ebp
push 1
call dword [eax]
mov ecx, dword [0x509420]
call fcn.0043e450
mov ebp, eax
test ebp, ebp
jne 0x47a810
mov eax, dword [edi + 0x2bc]
test eax, eax
mov edx, dword [0x509420]
mov ebx, dword [edi + 0x2b8]
mov ecx, dword [edi + 0x2c4]
cmovne ebx, eax
movzx eax, word [edx + 0x2a690]
push eax
push dword [edx + 0x2a68c]
mov esi, dword [ecx]
push 4
call dword [esi + 0x28]
mov ecx, dword [0x509420]
mov edx, dword [ebx]
movzx eax, word [ecx + 0x2a690]
push eax
push dword [ecx + 0x2a68c]
mov ecx, ebx
push 4
call dword [edx + 0x28]
movss xmm0, dword [edi + 0x2400]
ucomiss xmm0, dword [0x4ca594]
lahf
test ah, 0x44
jnp 0x47aab7
mov ecx, dword [0x509420]
call fcn.0043e2d0
mov ecx, dword [0x509420]
cdq
sub eax, edx
sar eax, 1
mov esi, dword [ecx + 0x2a68c]
sub esi, eax
call fcn.0043e2d0
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x4cb2fc]
movss dword [edi + 0x2400], xmm1
mov ecx, dword [0x509420]
call fcn.0043e2c0
mov ecx, dword [0x509420]
cdq
sub eax, edx
sar eax, 1
mov esi, dword [ecx + 0x2a690]
sub esi, eax
call fcn.0043e2c0
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, dword [edi + 0x2400]
mulss xmm1, dword [0x4cb2fc]
lahf
movss dword [edi + 0x2404], xmm1
test ah, 0x44
jp 0x47aab7
mov dword [edi + 0x2400], 0x3a83126f
mov edx, dword [0x509420]
mov ecx, ebx
mov esi, dword [ebx]
movzx eax, word [edx + 0x2a690]
push eax
push dword [edx + 0x2a68c]
push 5
call dword [esi + 0x28]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
test dl, 2
je 0x47aba9
mov ebx, dword [esp + 0x18]
push esi
push 0
push 0xf
mov eax, dword [ebx]
jmp 0x47a982
mov eax, ecx
cmp esi, 0x25
jne 0x47ab32
mov esi, ecx
test dl, 1
je 0x47ab17
mov ebx, dword [esp + 0x18]
push ecx
push 0
push 0xa
mov eax, dword [ebx]
jmp 0x47a982
mov ecx, esi
test dl, 2
je 0x47aba9
mov ebx, dword [esp + 0x18]
push esi
push 0
push 0xe
mov eax, dword [ebx]
jmp 0x47a982
mov ecx, eax
mov dword [esp + 0x20], ecx
movzx ebx, cx
cmp esi, 0x26
jne 0x47ab8d
movzx ecx, cx
test dl, 1
je 0x47aba9
mov ebx, dword [esp + 0x18]
mov ecx, ebx
push dword [esp + 0x20]
push 0
mov eax, dword [ebx]
push 0xc
call dword [eax + 0x28]
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x47a987
mov dword [eax + 0x1f8], 1
mov eax, dword [edi + 0x2ec]
mov dword [eax + 0x1fc], 1
jmp 0x47a987
mov ecx, ebx
cmp esi, 0x28
jne 0x47aba9
test dl, 1
je 0x47aba9
mov eax, dword [esp + 0x18]
push ebx
push 0
push 0xd
mov eax, dword [eax]
jmp 0x47a97e
mov ebx, dword [esp + 0x18]
push ecx
push 0
push 6
mov eax, dword [ebx]
jmp 0x47a982
cmp dword [ebp + 0x12c], 0x10
jne 0x47abc9
and dword [0x5099e8], 0xfffffffe
cmp dword [ebp + 0x12c], 0x11
jne 0x47abd9
and dword [0x5099e8], 0xfffffffd
mov ecx, dword [ebp + 0x12c]
cmp ecx, 0x57
jne 0x47abf8
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
je 0x47ac01
jmp 0x47ad84
cmp ecx, 0x26
jne 0x47adb2
cmp dword [0x50acd0], 0
jg 0x47ad7f
cmp dword [0x5099e8], 0
jne 0x47ad7f
mov ecx, dword [0x509388]
test cl, 1
je 0x47ad74
call esi
mov ecx, dword [edi + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x47ad6e
call esi
mov dword [edi + 0x23e8], eax
sub esp, 8
mov eax, dword [0x50accc]
movss xmm0, dword [eax + 0x1f4]
addss xmm0, dword [0x4d2d74]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00434a60
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
add esp, 8
fdiv dword [0x4ca5c8]
fmul dword [0x4d2d80]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [0x4d2d80]
jb 0x47ac9a
xorps xmm0, xmm0
mov eax, dword [0x50accc]
lea edx, [esp + 0x38]
mov ecx, dword [0x509434]
push 0
push 0
mov eax, dword [eax + 0x208]
mov dword [esp + 0x41], eax
cvttss2si eax, xmm0
push edx
push 6
mov byte [esp + 0x4d], al
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, edi
call fcn.00474ff0
mov ecx, dword [edi + 0x2bc]
test ecx, ecx
je 0x47acea
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x2bc], 0
mov ecx, dword [edi + 0x2b8]
add ecx, 0x140
push 0x7c
call fcn.00434e20
mov esi, eax
test esi, esi
je 0x47ad50
mov ecx, dword [edi + 0x2b8]
push esi
add ecx, 0x140
call fcn.00435100
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov ecx, dword [edi + 0x2b8]
add ecx, 0x140
push 0x7d
call fcn.00434e20
mov esi, eax
test esi, esi
je 0x47ad50
mov ecx, dword [edi + 0x2b8]
push esi
add ecx, 0x140
call fcn.00435100
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov dword [edi + 0x23c0], 0
mov dword [edi + 0x23c4], 0
mov dword [edi + 0x23c8], 0
mov ecx, dword [0x509388]
and ecx, 0xfffffffe
mov dword [0x509388], ecx
jmp 0x47adb8
cmp ecx, 0x57
jne 0x47ad9c
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x47adb2
test byte [0x503e50], 0x80
jne 0x47ad6e
cmp ecx, 0x26
jne 0x47adb2
mov ecx, dword [0x509388]
and ecx, 0xfffffffe
mov dword [0x509388], ecx
jmp 0x47adb8
mov ecx, dword [0x509388]
mov eax, dword [ebp + 0x12c]
cmp eax, 0x53
jne 0x47addd
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x47adeb
test byte [0x503e50], 0x80
jne 0x47ade2
jmp 0x47adeb
cmp eax, 0x28
jne 0x47adeb
and ecx, 0xfffffffd
mov dword [0x509388], ecx
mov eax, dword [ebp + 0x12c]
cmp eax, 0x44
jne 0x47ae10
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x47ae1e
test byte [0x503e50], 0x80
jne 0x47ae15
jmp 0x47ae1e
cmp eax, 0x27
jne 0x47ae1e
and ecx, 0xfffffffb
mov dword [0x509388], ecx
mov eax, dword [ebp + 0x12c]
cmp eax, 0x41
jne 0x47ae43
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x47ae51
test byte [0x503e50], 0x80
jne 0x47ae48
jmp 0x47ae51
cmp eax, 0x25
jne 0x47ae51
and ecx, 0xfffffff7
mov dword [0x509388], ecx
cmp dword [ebp + 0x12c], 0x68
jne 0x47ae63
and ecx, 0xffffffbf
mov dword [0x509388], ecx
cmp dword [ebp + 0x12c], 0x62
jne 0x47ae78
and ecx, 0xffffff7f
mov dword [0x509388], ecx
cmp dword [ebp + 0x12c], 0x65
jne 0x47ae90
mov eax, dword [0x50accc]
mov dword [eax + 0x1fc], 0xbea3d70a
mov al, byte [ebp + 0x128]
cmp al, 0xd
je 0x47aea2
cmp al, 0x27
jne 0x47af95
mov ecx, dword [edi + 0x2b8]
add ecx, 0x140
push 0x7d
call fcn.00434e20
mov ecx, dword [edi + 0x2b8]
mov ebx, eax
add ecx, 0x140
push 0x7f
call fcn.00434e20
mov ecx, dword [edi + 0x2b8]
mov esi, eax
add ecx, 0x140
push 0x9d
call fcn.00434e20
test ebx, ebx
je 0x47af1a
cmp dword [ebx + 0x1f8], 0
jne 0x47af95
mov dword [ebx + 0x1f8], 1
mov ecx, ebp
mov dword [ebx + 0x1fc], 1
mov eax, dword [ebp]
push 1
call dword [eax]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x47af4e
cmp dword [esi + 0x1f8], 0
jne 0x47af95
mov dword [esi + 0x1f8], 1
mov ecx, ebp
mov dword [esi + 0x1fc], 1
mov eax, dword [ebp]
push 1
call dword [eax]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x47af82
cmp dword [eax + 0x1f8], 0
jne 0x47af95
mov dword [eax + 0x1f8], 1
mov dword [eax + 0x1fc], 1
mov ecx, ebp
mov eax, dword [ebp]
push 1
call dword [eax]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
je 0x47b624
cmp byte [ebp + 0x128], 0x66
jne 0x47afbe
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47afbe
mov ecx, dword [0x50accc]
cmp dword [ecx + 0x28c], eax
sete al
mov dword [ecx + 0x28c], eax
cmp byte [ebp + 0x128], 0x6d
jne 0x47afee
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47afee
mov eax, dword [edi + 0x2414]
inc eax
mov dword [edi + 0x2414], eax
cmp eax, 2
jle 0x47afee
mov dword [edi + 0x2414], 0
cmp dword [ebp + 0x12c], 0x75
jne 0x47b017
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47b017
mov ecx, dword [0x50accc]
cmp dword [ecx + 0x298], eax
sete al
mov dword [ecx + 0x298], eax
cmp dword [ebp + 0x12c], 0x71
jne 0x47b036
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47b036
mov ecx, dword [edi + 0x2e4]
call fcn.004952f0
cmp byte [ebp + 0x128], 0x1b
jne 0x47b046
mov ecx, edi
call fcn.00471d50
cmp byte [ebp + 0x128], 0x31
je 0x47b058
cmp dword [ebp + 0x12c], 0x2d
jne 0x47b06f
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47b06f
push 0xc8
mov ecx, edi
call fcn.00474d10
cmp byte [ebp + 0x128], 0x33
je 0x47b081
cmp dword [ebp + 0x12c], 0x21
jne 0x47b098
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47b098
push 0xc9
mov ecx, edi
call fcn.00474d10
cmp byte [ebp + 0x128], 0x34
je 0x47b0aa
cmp dword [ebp + 0x12c], 0x22
jne 0x47b0c1
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47b0c1
push 0xca
mov ecx, edi
call fcn.00474d10
cmp byte [ebp + 0x128], 0x32
je 0x47b0d3
cmp dword [ebp + 0x12c], 0x24
jne 0x47b0ea
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47b0ea
push 0xcb
mov ecx, edi
call fcn.00474d10
test byte [0x503e50], 0x10
je 0x47b100
test byte [0x5099e8], 2
je 0x47b2c6
cmp byte [ebp + 0x128], 0
jne 0x47b2c6
xor esi, esi
mov dword [esp + 0x20], esi
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47b2c6
cmp esi, 0x54
jae 0x47b2c6
mov eax, dword [esi + str.XOKHNBC12345678GD90:S]
cmp eax, dword [ebp + 0x12c]
jne 0x47b2b0
cmp byte [edi + 0x2444], 0
jne 0x47b2b0
mov ecx, dword [0x509434]
lea edx, [esp + 0x30]
push 0
push 0
mov dword [esp + 0x39], eax
mov eax, dword [ecx]
push edx
push 5
call dword [eax + 4]
mov ecx, dword [0x509420]
lea esi, [edi + 0x244c]
lea eax, [ecx + 0x2a6b4]
cmp esi, eax
je 0x47b193
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 3
push eax
push ecx
mov ecx, esi
call fcn.0046d860
mov ecx, dword [0x509420]
mov eax, dword [ecx + 0x2a6b8]
sub eax, dword [ecx + 0x2a6b4]
sar eax, 3
cmp eax, 5
jb 0x47b2b0
mov eax, dword [edi + 0x2450]
mov ebx, dword [esi]
push 0
push 0x2710
mov edx, dword [eax - 8]
mov ecx, dword [eax - 4]
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
sub eax, ebx
sar eax, 3
sub edx, dword [ebx + eax*8 - 0x10]
mov byte [esp + 0x1f], 0
mov dword [esp + 0x24], ebx
lea esi, [eax - 2]
sbb ecx, dword [ebx + esi*8 + 4]
push ecx
push edx
call fcn.00499030
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
test esi, esi
je 0x47b2b0
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
add esi, 8
mov eax, dword [esi]
sub eax, dword [esi - 8]
mov ecx, dword [esi + 4]
sbb ecx, dword [esi - 4]
js 0x47b254
jg 0x47b21a
cmp eax, 0x7a1200
jb 0x47b254
push 0
push 0x2710
push ecx
push eax
call fcn.00499030
mov ecx, eax
sub ecx, dword [esp + 0x24]
sbb edx, dword [esp + 0x28]
mov eax, edx
cdq
xor eax, edx
xor ecx, edx
sub ecx, edx
sbb eax, edx
test eax, eax
jg 0x47b2b0
jl 0x47b248
cmp ecx, 0x14
ja 0x47b2b0
mov edx, dword [esp + 0x1c]
mov cl, 1
mov byte [esp + 0x17], cl
jmp 0x47b258
mov cl, byte [esp + 0x17]
mov eax, dword [esp + 0x2c]
inc ebx
sub eax, edx
add esi, 8
sar eax, 3
sub eax, 2
cmp ebx, eax
jb 0x47b204
test cl, cl
je 0x47b2b0
mov byte [edi + 0x2444], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [edi + 0x2448], eax
mov eax, dword [0x509420]
mov ecx, dword [eax + 0x2a6b4]
cmp ecx, dword [eax + 0x2a6b8]
je 0x47b29c
mov dword [eax + 0x2a6b8], ecx
mov eax, dword [edi + 0x244c]
cmp eax, dword [edi + 0x2450]
je 0x47b2b0
mov dword [edi + 0x2450], eax
add dword [esp + 0x20], 4
cmp byte [ebp + 0x128], 0
mov esi, dword [esp + 0x20]
je 0x47b113
mov al, byte [ebp + 0x128]
cmp al, 0x2f
je 0x47b2d4
cmp al, 0x3b
jne 0x47b32f
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47b32f
mov ecx, dword [edi + 0x2b8]
add ecx, 0x140
push 0x7d
call fcn.00434e20
mov ecx, dword [edi + 0x2b8]
mov esi, eax
add ecx, 0x140
push 0x7f
call fcn.00434e20
mov ecx, dword [edi + 0x2b8]
mov ebx, eax
add ecx, 0x140
push 0x9d
call fcn.00434e20
test esi, esi
jne 0x47b32f
test ebx, ebx
jne 0x47b32f
test eax, eax
je 0x47b5c8
cmp byte [ebp + 0x128], 0x71
jne 0x47b396
mov ecx, edi
call fcn.004795e0
test eax, eax
jne 0x47b396
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2cc]
add ecx, 0x140
call fcn.00434e70
test eax, eax
je 0x47b37e
mov byte [0x50ace9], 0
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2cc]
add ecx, 0x140
call fcn.00435100
jmp 0x47b396
mov byte [0x50ace9], 1
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2cc]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, ebx
movzx eax, word [ebp + 0x12c]
push eax
push 0
mov edx, dword [ebx]
push 7
call dword [edx + 0x28]
movsx ax, byte [ebp + 0x128]
mov ecx, ebx
mov edx, dword [ebx]
movzx eax, ax
push eax
push 0
push 8
call dword [edx + 0x28]
jmp 0x47a987
mov ecx, dword [edi + 0x2c4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
movzx eax, word [ebp + 0x10c]
push eax
push dword [ebp + 0x108]
push 0
call edx
test eax, eax
jne case.default.0x47a820
mov eax, dword [ebx]
mov ecx, ebx
mov edx, dword [eax + 0x28]
movzx eax, word [ebp + 0x10c]
push eax
push dword [ebp + 0x108]
push 0
call edx
test eax, eax
jne case.default.0x47a820
push eax
push ebp
mov ecx, edi
call fcn.00475410
test eax, eax
je case.default.0x47a820
push 0xffffffffffffffff
push dword [ebp + 0x10c]
mov ecx, edi
push dword [ebp + 0x108]
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00479670
jmp case.default.0x47a820
mov ecx, dword [edi + 0x2c4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
movzx eax, word [ebp + 0x10c]
push eax
push dword [ebp + 0x108]
push 2
call edx
test eax, eax
jne 0x47b476
movzx eax, word [ebp + 0x10c]
mov ecx, ebx
mov edx, dword [ebx]
push eax
push dword [ebp + 0x108]
push 2
call dword [edx + 0x28]
mov ecx, dword [edi + 0x2bc]
test ecx, ecx
je 0x47b490
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x2bc], 0
mov ebx, dword [edi + 0x2b8]
mov dword [esp + 0x18], ebx
jmp case.default.0x47a820
mov eax, dword [edi + 0x2bc]
test eax, eax
mov ebx, dword [edi + 0x2b8]
cmovne ebx, eax
movzx eax, word [ebp + 0x10c]
push eax
push dword [ebp + 0x108]
mov ecx, ebx
mov dword [esp + 0x20], ebx
mov edx, dword [ebx]
push 1
call dword [edx + 0x28]
mov ecx, dword [0x509420]
call fcn.0043e2d0
mov esi, dword [ebp + 0x108]
mov ecx, dword [0x509420]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
call fcn.0043e2d0
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x4cb2fc]
movss dword [edi + 0x2400], xmm1
mov ecx, dword [0x509420]
call fcn.0043e2c0
mov esi, dword [ebp + 0x10c]
mov ecx, dword [0x509420]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
call fcn.0043e2c0
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x4cb2fc]
movss dword [edi + 0x2404], xmm1
jmp 0x47a987
mov eax, dword [edi + 0x2bc]
test eax, eax
mov ebx, dword [edi + 0x2b8]
cmovne ebx, eax
movzx eax, word [ebp + 0x10c]
push eax
push dword [ebp + 0x108]
mov ecx, ebx
mov dword [esp + 0x20], ebx
mov edx, dword [ebx]
push 3
call dword [edx + 0x28]
mov dword [edi + 0x2400], 0
mov dword [edi + 0x2404], 0
jmp case.default.0x47a820
cmp dword [edi + 0x2bc], 0
jne case.default.0x47a820
cmp dword [edi + 0x23c0], 0
jne case.default.0x47a820
push 1
push ebp
mov ecx, edi
call fcn.00475410
jmp case.default.0x47a820
mov eax, dword [edi + 0x2ec]
push 0x4d1484
mov dword [eax + 0x1f8], 1
mov eax, dword [edi + 0x2ec]
mov dword [eax + 0x1fc], 1
mov ecx, dword [edi + 0x2ec]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp byte [ebp + 0x128], 0x3b
jne 0x47b611
mov ecx, dword [edi + 0x2ec]
push str._emote
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebp]
mov ecx, ebp
push 1
call dword [eax]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x1f8], 1
mov eax, dword [edi + 0x2ec]
jmp 0x47af65